Configuration
When you first launch PEBrowse Professional Interactive (from here on, PEBrowse Interactive), you are presented with a display much like what you will find in Figure 1:
Figure 1
The display contains a main menu bar, a button bar, two main display areas, and one window with the caption "Debug Log:". From the main menu, select Tools/Configure (or press Ctrl+U) and you will see the dialog box in Figure 2:
Figure 2
At first you might be overwhelmed by the number of tab sheets (and potential choices and options), but for now we need to set a few in order to begin on the same page in a manner of speaking. On the Environment tab sheet, uncheck the "View modules only in index?" Now, on the Debug tab sheet make certain that the "Break on process initialization?" checkbox is checked. Next on the CLR Debug tab sheet, the checkboxes for the following should be set:
- "Break on first JIT event?"
- "Sort items in .NET GC object display by type?"
- "Include object names in .NET GC object display?"
- "Include MSIL in disassembly?"
- "Set CLR Profiling Mask:Enter/Leave"
All of the remaining checkboxes should be left unchecked. Switching now to the Disassembly tab sheet locate and uncheck if necessary the "Disable analyze mode?" item. Focusing next on the Memory tab sheet, select "DWord" from the "Default Alignment" group and "4 Bytes" from the "Default Width". Finally, on the Symbols tab sheet, select "Default" in the "Debug Symbols Location" options. I cannot stress at this point too much how important it is to have the correct debug symbol files for the Windows system DLLs accessible -- it will make much of the following more readily understandable and, in general, your debugging life much more pleasant.
| | 1st page | next page |