Cheatography
                https://cheatography.com
            
        
        
    
                   
                            
    
                    WinDbg commands, tips and tricks.
                    
                 
                    
        
        
            
    
        
                                    This is a draft cheat sheet. It is a work in progress and is not finished yet.
                    
        
                
        
            
                                
            
                
                                                
                                
    
    
            Execution
        
                        
                                                                                    
                                                                                            Command  | 
                                                                                                                        Description  | 
                                                                                 
                                                                                            
                                                                                             | 
                                                                                                                        go (start execution)  | 
                                                                                 
                                                                         
                             
    
    
            Generic Commands
        
                        
                                                                                    
                                                                                            Command  | 
                                                                                                                        Description  | 
                                                                                 
                                                                                            
                                                                                             | 
                                                                                 
                                                                                            
                                                                                             | 
                                                                                                                        append to existing symbol path  | 
                                                                                 
                                                                                            
                                                                                             | 
                                                                                 
                                                                                            
                                                                                             | 
                                                                                                                        quit and detach  | 
                                                                                 
                                                                         
                             
    
    
            Symbols
        
                        
                                                                                    
                                                                                            Command  | 
                                                                                                                        Description  | 
                                                                                 
                                                                                            
                                                                                            .sympath  | 
                                                                                                                        set symbol path  | 
                                                                                 
                                                                                            
                                                                                            x  | 
                                                                                                                        examine symbols  | 
                                                                                 
                                                                         
                             
    
    
            Data Types
        
                        
                                                                                    
                                                                                            Command  | 
                                                                                                                        Description  | 
                                                                                 
                                                                                            
                                                                                             | 
                                                                                                                        data type  | 
                                                                                 
                                                                         
                             
                             | 
                                                                              | 
                                                        
                                
    
    
            Breakpoints
        
                        
                                                                                    
                                                                                            Command  | 
                                                                                                                        Description  | 
                                                                                 
                                                                                            
                                                                                             | 
                                                                                                                        set breakpoint  | 
                                                                                 
                                                                                            
                                                                                             | 
                                                                                                                        breakpoint list  | 
                                                                                 
                                                                                            
                                                                                             | 
                                                                                                                        clear breakpoint  | 
                                                                                 
                                                                         
                             
    
    
            Modules
        
                        
                                                                                    
                                                                                            Command  | 
                                                                                                                        Description  | 
                                                                                 
                                                                                            
                                                                                            lm  | 
                                                                                                                        list loaded modules  | 
                                                                                 
                                                                         
                             
    
    
            Thread
        
                        
                                                                                    
                                                                                            Command  | 
                                                                                                                        Description  | 
                                                                                 
                                                                                            
                                                                                            ~  | 
                                                                                                                        thread status  | 
                                                                                 
                                                                                            
                                                                                            ~s  | 
                                                                                                                        set current thread  | 
                                                                                 
                                                                                            
                                                                                             | 
                                                                                                                        shows information about the thread  | 
                                                                                 
                                                                         
                             
    
    
            Process
        
                        
                                                                                    
                                                                                            Command  | 
                                                                                                                        Description  | 
                                                                                 
                                                                                            
                                                                                             | 
                                                                                                                        To see a list of all processes  | 
                                                                                 
                                                                                            
                                                                                             | 
                                                                                                                        Shows all the threads in the process  | 
                                                                                 
                                                                         
                             
    
    
                             | 
                                                                              | 
                                                        
                                
    
    
            Memory
        
                        
                                                                                    
                                                                                            Read  | 
                                                                                 
                                                                                            
                                                                                            Command  | 
                                                                                                                        Description  | 
                                                                                 
                                                                                            
                                                                                            |   | 
                                                                                 
                                                                                            
                                                                                            
 
  | 
                                                                                 
                                                                                            
                                                                                            Write  | 
                                                                                 
                                                                                            
                                                                                            Command  | 
                                                                                                                        Description  | 
                                                                                 
                                                                         
                             
    
    
            Stack
        
                        
                                                                                    
                                                                                            Command  | 
                                                                                                                        Description  | 
                                                                                 
                                                                                            
                                                                                            k  | 
                                                                                                                        display stack backtrace  | 
                                                                                 
                                                                         
                             
    
    
            Plugins
        
                        
                                                                                    
                                                                                            analyze  | 
                                                                                 
                                                                                            
                                                                                            User-Mode  | 
                                                                                 
                                                                                            
                                                                                            !analyze -v  | 
                                                                                                                        show verbose  | 
                                                                                 
                                                                                            
                                                                                            |   | 
                                                                                 
                                                                                            
                                                                                            Kernel-Mode  | 
                                                                                 
                                                                                            
                                                                                            !analyze -v  | 
                                                                                                                        show verbose  | 
                                                                                 
                                                                                            
                                                                                            !analyze  | 
                                                                                 
                                                                                            
                                                                                            
 
  | 
                                                                                 
                                                                                            
                                                                                            Plugin 2  | 
                                                                                 
                                                                         
                             
                             |