Enabling the debugger in Borland C++ 5.02

By: Christopher Moeller

Abstract: If the debugger doesn't seem to stop when you set breakpoints, it may need to be manually turned on.

Question:

How can I verify that the debugger is turned on in Borland C++ 5.02?


Answer:

In order to verify that the debugger is enabled in Borland C++ 5.02, you may wish to check that the correct options are set in the 'Options' menu.  Under Options | Project... | Compiler | Debugging, make sure that 'Standard stack frame', 'Generate debug information', and 'Browser reference information in OBJs' are CHECKED.  Under Options | Project... | Linker | General, make sure that 'Include debug information' is CHECKED.  Also, under Options | Environment... | Scripting, make sure that 'Stop at breakpoint' is checked.

Then choose Options | Save... and then try loading an example project (from the examples directory), set a breakpoint and try the debugger.
 


Server Response from: ETNASC03