RAD Studio (Common)
ContentsIndex
PreviousUpNext
Modules Window

ViewDebug WindowsModules 

Shows processes under control of the debugger and the modules currently loaded by each process. This window is divided into the following areas.

Area 
Description 
Modules pane (upper left side) 
Displays the processes and modules sorted, by default, in the order in which they are loaded. Each process can have one or more modules which it loads. When a process terminates or a module is unloaded, it is removed from the list.
Execution point green arrow indicates the current process.
To sort the display, click a column heading.  
Source pane (lower left side) 
If debug information is available, displays the source files that were used to build the module currently selected in the Modules pane.  
Scope Browser (right side, for managed code only) 
Displays a hierarchical tree view of the namespaces, classes, and methods used in the application.
Namespace folder icon represents a namespace.
Namespace blue sphere icon represents a class.
Method green arrows icon represents a method.  
Entry Point pane (right side, for unmanaged code only)  
Displays the name and addresses of the entry points for the module currently selected in the Modules pane.
The entry point is only shown if the source for it can found.
To sort the display, click a column heading.
The runtime image base address is the memory offset, in hexadecimal, where the module actually loads, and is distinct from the preferred image base address you may have specified in the ProjectOptions window.  

Right-click the Modules pane to display the following commands for unmanaged code.

Item 
Description 
Break On Load 
Toggles a breakpoint to halt the execution of the application when it loads the selected module into memory. This setting is used only by the Borland Win32 Debugger. You can also click on the module icon to toggle a module load breakpoint.  
Reload Symbol Table 
Displays the Reload Symbol Table dialog box, allowing you to load the debug symbol table into the Modules window.  
Add Module 
Displays the Add Module dialog, allowing you to add a module to the list. Use this command to add a module load breakpoint on a module that is not currently loaded. This setting is used only by the CodeGear Win32 Debugger.  

Right-click the Source pane to display the following command.

Item 
Description 
Edit Source 
Activates the Code Editor and positions it to the selected module.  

Right-click the Scope Browser to display the following commands (the Scope Browser is only displayed in managed debugging).

Item 
Description 
Browse Class 
Displays the CodeGear Reflection tool, allowing you to inspect the currently selected class.  
Edit Source 
Available for methods only. Activates the Code Editor and positions it to the method.
Selecting a method that has not been Just In Time compiled yet results in the message No native code is available.  

Right-click the Entry Point pane to display the following command.

Item 
Description 
Go to Entry Point 
Displays the selected entry point in the CPU window if there is no source for the entry point. If source can be found, it will be shown. Your program must be paused before you can jump to an entry point.  
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!