Home » Products » UEStudio » UES Tour » Debug

UEStudio integrated development environment tour: debug

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: debug

The build menu in UEStudio includes a start debugger command. This command starts the selected debugger on the active file. If a debugger is not set, a dialog will be displayed where the debugger for the active project may be selected.

Start debugger menu option

In most cases, where the use of a debugger is appropriate, this will be specified as most compilers come packaged with an associated debugger and the debugger key in the compiler options (under linker options) will show this (for example for Visual Studio, the debugger is set to "msdev").

Debugger setting in linker options

Double-clicking on the Debugger key presents a dialog where the user may specify a different debugger to be used if desired.

Specify the debugger in this dialog

You can click on the debug button in the tools toolbar to invoke the debugger.

Debugger toolbar

UEStudio will check to see if a debugger is set. If this isn't set in the compiler options, UEStudio will display a browse dialog so a debugger may be selected. If a debugger is set, UEStudio will prompt if this debugger should be set as the default for future projects. If "yes" is selected, the selected debugger will be saved in the compiler configuration file so that when a new project is selected this will be remembered and is not limited to the active project.

Edit compiler configuration button

If the Edit Configuration button is pressed in the select compiler dialog the compiler configuration file will be displayed here and advanced users who are very familiar with their compiler/debugger functionality may edit this file directly if desired.

Configuration for starting debugger

For example, you may set dependencies, and decide if you want to run the debugger as a console debugger (gdb) or windowed debugger (WinDbg).

In the configuration file, users may select the Debug key and modify the [Start Debugger] section. For example, if the default is set to a windowed debugger and you wish to use a console debugger you would have to change/add the key "DisplayConsole=1" in that section.

If the make configuration local button is pressed in the select compiler dialog the compiler configuration file will be saved into the project directory and changes made after pressing this will be saved locally with the project.

Configuration for debugger

Once a debugger is selected, the user may invoke the debugger from the commands submenu in the tools toolbar. For more detailed information regarding the various sections of the compiler configuration file, please see the compiler configuration section in the UEStudio help files.


UEStudio tour topics

Back to top


Buy Now
Upgrade
Download

Get your solution today!

UEStudio/UltraCompare Solution

Add UltraCompare to your purchase/upgrade of UEStudio and complete your file management solution.

Existing UltraEdit users
UltraEdit to UEStudio

Upgrade from UltraEdit

to UEStudio and...

...receive a $30 credit!