Annotation of q_a/samples/ntsd/readme, revision 1.1.1.1

1.1       root        1:  Sample: Writing NTSD Extensions
                      2: 
                      3: Summary:
                      4: 
                      5: This article and the associated sample demonstrate how to
                      6: write a NTSD extension for the NTSD debugger.
                      7: More Information:
                      8: 
                      9: While debugging, we often find ourselves looking up certain
                     10: fields of a certain structure in the program. Traditionally,
                     11: this involves dumping the address of the structure in
                     12: question and locating the specific fields in the dump, which
                     13: is often very tedious and inefficient.
                     14: 
                     15: In NTSD, the programmers can write a dumping routine to be
                     16: called by the NTSD debugger.
                     17: 
                     18: The routine has to be in a DLL and has the following
                     19: prototype:
                     20: 
                     21:    void Routine (HANDLE, HANDLE, HANDLE,
                     22: PNTSD_EXTENSION_APIS, LPSTR);
                     23: 
                     24:    See the file DEBUG.C, which is part of the NTSD sample,
                     25: for details.
                     26: 
                     27: Then, to invoke the routine in NTSD, the user would do the
                     28: following:
                     29: 
                     30:    !module.routine argument
                     31: 
                     32: 
                     33: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.