Home » Products » UEStudio » UES Tour » Integrated debugger

UEStudio integrated development environment tour: integrated debugger

The UEStudio tour is intended to guide you through some of the advanced IDE features of the application. UEStudio includes all of the features of UltraEdit, the world's best text editor, which are not covered here.

UEStudio tour: integrated debugger

Note: The integrated debug support is used solely with the Microsoft c/c++ compiler.

In order to use the integrated debugger, you must have WinDBG installed and your project must be configured to use WinDBG. If you would like to learn how to configure your project for this, take a look at our quick start guide power tip.

To start debugging, click on Go in the debug toolbar or in build -> debug -> go.

UEStudio integrated debugger

UEStudio will build the project, and will launch the application in debug mode. When running the integrated debugger the following features will be available to you:

Debug break/execution commands

Go Automatically starts the debugger and runs the application
Restart Ends a debugging session and then restarts
Stop Debugging Ends a debugging session
Break Pauses target execution and returns control to debugger
Step Into Executes code one statement at a time, following execution into function calls
Step Out Executes remaining lines of a function in which the current execution point lies
Step Over Executes the next line of code but does not follow execution through any function calls
Run to Cursor Resumes execution of code from the current statement to the selected statement
Set Breakpoint Adds breakpoint at current cursor location
Remove Breakpoint Removes breakpoint at current cursor location

Debugger windows
Enable the debug windows using the associated icons in the debug toolbar. The debug windows can be docked or un-docked and arranged in the configuration that best suits your needs. A brief explanation of the information contained in each window follows.

Call stack window buttonCall stack window
The call stack window lists all the active procedures or stack frames for the current thread of execution.

Variables window buttonVariables window
The variables window shows all of the variables that are currently in scope and their resepective values.

Watch window buttonWatch window
The watch window shows the values for any variable(s) you type. You may also type expressions in the fields and they will be evaluated accordingly. (ie: wId + wNotify).

Double click in the name column for the field and type a value (or expression). The process must have been first 'broken into' in order to type in the field.

Registers window buttonRegisters window
The registers window shows the values contained in all of the CPU's (or processor's) registers.

Memory window buttonMemory window
The memory window shows the contents of memory at the location and the areas around it.

Disassembly window buttonDisassembly window
The disassembly window allows you to view code bytes for the process being debugged, and the assembly instructions associated with them, at the current execution point.

Output windows
The output windows show the output generated by the debugger during the debug process.

UEStudio tour topics

Back to top