RAD Studio (Common)
Debugging Applications

Many of the same techniques are used for debugging applications in different environments. RAD Studio provides an integrated debugging environment that enables you to debug Win32 applications. In addition, you can use the debugger to debug an application running on a remote machine that does not have RAD Studio installed.

RAD Studio includes CodeGear Win32 Debugger. The IDE automatically uses the appropriate debugger based on the active project type. Cross-platform debugging within a project group is supported and, where possible, the debuggers share a common user interface.
The integrated debuggers let you find and fix both runtime errors and logic errors in your RAD Studio application. Using the debuggers, you can step through code, set breakpoints and watches, and inspect and modify program values. As you debug your application, the debug windows are available to help you manage the debug session and provide information about the state of your application.... more 
Remote debugging enables you to debug one or more applications on a remote machine when the IDE is running only on your local machine. This allows debugging on a machine where it is impractical to install the entire IDE and rebuild a project. Remote debugging is useful for applications that run differently on your local machine than on an end user's machine. 
The Wait Chain Traversal feature has been added to the Debugger to help you diagnose application hangs and thread deadlocks. The feature relies on a facility in the Vista operating system that provides information to the Debugger about the wait status of your application's threads in the form of a 'wait chain'.
A wait chain is an alternating sequence of threads and synchronization objects. Each thread waits for the object that follows it, and that object is owned by the subsequent thread in the chain. In the Threads view, a new column ("Wait Chain") lists the contents of the wait... more 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!