Tools & SDKs
- Heterogeneous Computing
- Aparapi
- Accelerated Parallel Processing (APP) SDK
- Accelerated Parallel Processing Math Libraries (APPML)
- CodeXL
- Archived Tools
- CPU Development
- Graphics Development
- Open Source
Home > Tools & SDKs > Heterogeneous Computing > Archived Tools > gDEBugger > gDEBugger User Guide > Dialogs
OpenGL State Variable Selection
The New Project wizard will guide you, step by step, in creating a debugged process project from scratch.
Select the executable to be debugged, the working directory, and the command line arguments.
Select OpenGL frame terminators and breakpoints.
Select OpenCL frame terminators and breakpoints.
The Breakpoint dialog lets you choose OpenCL and OpenGL API function breakpoints, as well as kernel function name breakpoints.
Breakpoints added this way will be added to the Breakpoints view.
The debugged process execution is suspended when a debugged process thread calls an API function marked as a breakpoint. The process run is suspended before the function is executed, letting you observe the effect the breakpoint function has on the application behavior.
The debugged process execution is suspended when a kernel with a function name marked as a breakpoint starts executing. This lets you get right into kernel debugging without stepping into the clEnqueueNDRangeKernel function call.
The API Functions list contains OpenCL and OpenGL API functions, as well as platform-specific binding (WGL, CGL, GLX, EAGL or EGL) functions supported by gDEBugger.
The Kernel Functions list will be filled when an OpenCL application is debugged, to contain the names of all kernel functions that are used by the application.
Error and Warning breakpoints are special breakpoints that can be set on the occurrance of special events:
Enables filtering the Breakpoints list. Entering multiple values separated by spaces or commas searches for function names containing all the strings.
The active breakpoints list contains the currently selected API and kernel function breakpoints. You can Enable/Disable a specific breakpoint by checking / unchecking the checkbox next to the function name. You can also type in kernel function names to add kernels that were not created yet in the application.
To add a breakpoint, select a function / functions from the API Functions or Kernel Functions list and add it to the Active Breakpoints list by double clicking on it or by pressing the Add button.
To remove a breakpoint, select the function from the Active Breakpoints list and remove it by double clicking on it or by pressing the Remove button.
Press the Remove All button to remove all of the active breakpoints.
Change the enabled status of all active breakpoints.
The State Variables dialog lets you choose OpenGL, WGL, CGL and OpenGL extension state variables.
When the debugged process execution is suspended you will be able to see the selected state variables values in the State Variables view.
The available state variables list contains OpenGL, WGL, glX and OpenGL extension variables supported by gDEBugger. Selected variables are highlighted in blue.
Enables filtering the state variables list. Entering multiple values separated by spaces or commas searches for variable names containing all the strings.
The State variables list lists the currently selected variables.
To add a variable, select a variable / variables from the Available state variables list and add it to the State variables list by double clicking on it or by pressing the Add button.
To remove a variable, select the variable from the State variables list and remove it by double clicking on it or by pressing the Remove button.
Press the Remove All button to remove all of the variables.
This dialog allows you to specify settings for the current startup project.
The full path to the executable file launched for a debug session.
The working directory of the executable file.
The debugged application's command line arguments (optional).
The environment variables used for the debugged application (optional). This will be merged into gDEBugger's environment, overriding any duplicate variables.
Frame terminators are the functions that end your application computation frame.
Using them enables you to view the log of a single computation frame and not the entire calls log.
Available Frame Terminators are: clFlush, clFinish, cl_gremedy_computation_frame, clWaitForEvents
Frame terminators are the functions that end your application render frame.
Using them enables you to view the log of a single render frame and not the entire calls log.
Available Frame Terminators are: glFlush, glFinish, glClear, wglSwapBuffers, wglSwapLayerBuffers, wglMakeCurrent, glFrameTerminatorGREMEDY
glFlush is usually chosen for single-buffered applications.
wglSwapBuffers / glXSwapBuffers is usually chosen for double-buffered applications.
Check this box if the debugged application uses both DirectDraw and OpenGL to render and is experiencing stability issues when debugged with gDEBugger.
The System Information dialog collects computer configuration data and OpenGL implementation details such as: the operating system, memory, graphic card and driver details, monitor details, available pixel formats, available OpenGL extensions, etc.
Collects and displays information about the configuration of your system.
Collects and displays information about the configuration of your display system.
Collects and displays information about the configuration of your graphic accelerator system.
Collects and displays information about the supported pixel format on your system.
Collects and displays information about the supported OpenGL extensions on your system.
Collects and displays information about the supported OpenCL platforms.
Collects and displays information about the supported OpenCL devices and their capabilities and limits.
Exports the System information data from all views to a .csv file
The Options dialog lets you control program attributes and behavior.
The Call Stack tab lets you specify the source code root location and additional source code directories. This enables the use of the Source Code editor when the debugged application debug info holds partial source code paths and when the debugged application has been built on a different file system structure than your source code file structure.
When specifying additional source code directories, If the source code file is not found at its debug information path, it will searched, by file name only, in the additional source code directories. The search is performed according to the order in which the directories are specified.
The additional source code directories are semicolon separated.
When specifying a source code root location, the root location is prefixed to each source code file path. Only one source code root location can be specified.
Example:
If the source code root is "D:\Dir1\" and the debug information source code path is "\Dir2\Dir3\MyFile.cpp", the Source Code editor input path will be "D:\Dir1\Dir2\Dir3\MyFile.cpp".
Deselect this checkbox if you don't want gDEBugger to collect the graphic memory allocated objects creation calls stacks (which are displayed in the Memory View). This can improve Debug Mode performance in some cases when many graphic memory objects are allocated.
The HTML Log File tab lets you control the way the texture images data is logged in the HTML calls log.
When the Enable Texture images logging check box is checked, textures data is saved and displayed in the calls log file.
You can select the logged texture data file format by choosing the appropriate radio button. Available formats are: JPG, BMP, PNG, TIFF. 3D textures are always stored as tiff images.
The Logging tab lets you specify the logging limits of various calls loggers, as well as the location where the gDEBugger log files will be saved
Set the logging limit for OpenGL API function calls, OpenCL API function calls, and OpenCL queue commands
A directory where the API call log files and temporary image and source files are saved.
The Connection tab lets you control how gDEBugger connects to the internet.
Change these settings if your computer uses a HTTP Proxy.
Check this option if your computer connects to the internet through an HTTP proxy. If you are experiencing problems with gDEBugger's online features (request trial license, check for updates and send error report), changing the proxy settings might be the solution.
If you are using a proxy server, please input its information here. The server name could be a DNS address or an IP address. If you are unsure of what your HTTP proxy server or port are, contact your network administrator or copy the settings from your web browser. gDEBugger does not currently support the HTTP_PROXY environment variable.
The Advanced tab lets you control the advanced settings of the gDEBugger applicaiton.
The debug log level is an internal mechanism aimed to help fixing gDEBugger problems. There are three levels for the debug logging:
Log errors that rise while running gDEBugger.
Log errors and gDEBugger internal information that rise while running gDEBugger (default logging level).
Log gDEBugger debugging information, errors and other internal information that rise while running gDEBugger (for the gDEBugger support team to locate a problem inside gDEBugger).
Log extensive gDEBugger debugging information, errors and other internal information that rise while running gDEBugger (for the gDEBugger support team to locate a problem inside gDEBugger).
The number of milliseconds elapsed between performance counters samples.
- The maximum number of significant digits that will be displayed.
When the Flush log file after every monitored function call check box is checked, gDEBugger will flush the OpenCL / OpenGL calls history log file after every API function call instead of not use memory cached batches. This feature can help tracking the function call that led to a debugged application crash. Using this feature dramatically slows down the debugged application performance and therefore it is not recommended for regular use.
Launch the New Project wizard.
Select and open a previously saved project file.
Display the gDEBugger Home Page.
Save the currently active project.
Save the currently active project to a new name or location.
Select and open a file to display as source in the main MDI window.
Saves the currently active source file.
Save the currently active source file to a new name or location.
Save the currently active object view as an image or raw data.
Save all objects as images or raw data.
Save OpenGL state variable values to a file.
Save the information from various Statistics view tabs to a file.
Display a list of recently opened projects.
Quit gDEBugger.
Cut the selection in the currently active view to the clipboard.
Copy the selection in the currently active view to the clipboard.
Paste the contents of the clipboard to the currently active view.
Select all the data in the currently active view.
Find a string match in the currently active view.
Continue a previous search.
Show or hide gDEBugger views.
Show or hide gDEBugger toolbars.
Display line numbers in MDI source views.
Reset the frame and view locations to their defaults.
Use this option if a view is indicated to be shown but is not on screen.
See the command descriptions in the Debug toolbar section.
Display the Debug Settings dialog.
Enable or disable Error / Warning breakpoints.
See the breakpoint descriptions in the Breakpoints dialog section.
Toggle all selected breakpoints between enabled and disabled.
Load the breakpoints from a previously saved file.
Save the selected breakpoints to a file.
Display the Breakpoints dialog.
See the command descriptions in the Images and Buffers toolbar section.
Display the System Information dialog.
Display the Options dialog.
Close all MDI source and object views.
Display the gDEBugger User Guide.
Display the gDEBugger Tutorial.
Check for a newer version of gDEBugger and change automatic update check settings.
Open the support forum for gDEBugger in a browser window.
Open the knowledge base for gDEBugger in a browser window.
Open the support request form to report an issue with gDEBugger in a browser window.
Displays information about the installed gDEBugger version.
Your email address:
©2013 Advanced Micro Devices, Inc. OpenCL and the OpenCL logo are trademarks of Apple, Inc., used with permission by Khronos.