RAD Studio (Common)
ContentsIndex
PreviousUpNext
Debug Windows
Name 
Description 
RunAdd BreakpointModule Load
Adds a module load breakpoint that will halt program execution when the module is loaded. You also use this dialog when you click Edit Type the module name (usually a DLL or package) into the edit box, or click the Browse button to navigate to the module.
This dialog box also adds the module to the Modules window. Modules are automatically added to the Modules window when they are loaded into memory, but if you want to halt execution for debugging when the module first loads into memory, you must add it to the modules... more 
Enters a name for a new watch group, or selects a name from the list of previously entered watch group names.
The watch group will be added as a tab in the Watch List
ViewDebug WindowsBreakpoints
Displays, enables, or disables breakpoints currently set in the loaded project. Also changes the condition, passes count, or groups associated with a breakpoint. If no project is loaded, it shows all breakpoints set in the active Code Editor or in the CPU window.
Tip: Several items on the Breakpoint List
context menu are also available on the Breakpoint List toolbar.  
ViewDebug WindowsCall Stack
Displays the function calls that brought you to your current program location and the arguments passed to each function call. The Call Stack window lists the last function called, followed by each previously called function. The first function called is at the bottom of the list. If debug information is available for a function, it is followed by the arguments that were passed when the call was made.
Double-clicking an item in the Call Stack window displays both the source for the frame and the locals for the frame.
To toggle a breakpoint on a... more 
ViewDebug WindowsCPU Windows
Displays the assembly language code for the program you are debugging. This window opens automatically when program execution stops at a location for which source code is unavailable.
The CPU window is divided into the following panes:  
Modifies the value located at the current cursor position in the CPU or FPU views.
This dialog is displayed when you right-click and choose Change from the Dump, Stack, or Register pane of the CPU window or the Register pane of the FPU window. Enter a value for the currently selected item. Precede hexadecimal values with $.
From the Dump and Stack panes of the CPU window, you can enter more than one value separated by a space. You must enter a value that corresponds to the current display type set using Display As.
From the Register pane... more 
Searches forward in the Disassembly pane of the CPU window for an expression or byte list.  
ViewDebug WindowsEvent Log
Shows messages for breakpoints, process control, threads, modules, and output that occur during a debug session.
You can copy text in the Event Log by using Ctrl-C or the Edit->Copy command.
Right-click the Event Log window to display the following commands.
Note: To copy Event Log
messages to the clipboard, use EditCopy or Ctrl-C.  
Adds a comment to the end of the Event Log window.  
FPU 
ViewDebug WindowsFPU
Displays the contents of the Floating-point Unit and SSE registers in the CPU.  
ViewDebug WindowsLocal Variables
Shows the current function’s local variables while in debug mode. To view local variables from a non-current stack frame, select a frame from the drop-down list.
Right-click the Local Variables window to display the following commands.  
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.  
Locates a file that the debugger can not find.  
ViewDebug WindowsThreads
Shows the status of all processes and threads that are executing in each application being debugged.  
ViewDebug WindowsWatch List
Displays the current value of the watch expression based on the scope of the execution point. The Watch List window is a multi-tabbed view with each tab representing a distinct watch group. Only the watch group on the active tab is evaluated while debugging.
Tip: To enable or disable a watch expression quickly, use the check box Check Box next to the watch.
 
ViewDebug WindowsCPU WindowsDisassembly
Displays the address, the hexadecimal representation of the machine code instructions (opcodes), and the assembly instructions for each line of source code. The address is the offset into the disassembled method. 
ViewDebug WindowsCPU WindowsMemory
Displays the raw values contained in addressable areas of your program. Displayed only for unmanaged code. The pane displays the memory addresses, the current values in memory, and an ASCII representation of the values in memory.
There are four different views in order to view four distinct areas in memory at the same time. You can have more than one view and then use SearchGoto Address in the separate views to look at different places in memory at the same time. 
ViewDebug WindowsCPU WindowsRegisters
Displays the contents of the CPU registers of the 80386 and greater processors. 
ViewDebug WindowsCPU WindowsStack
Displays the raw values contained in the program stack. Displayed only for unmanaged code. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!