Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Program stops when I throw an exception in debug mode

Status
Not open for further replies.

avalonpablo

Programmer
Jul 10, 2003
2
GB
when running my app in debug mode I throw a lot of exceptions when operations are aborted etc.

The problem is that builder stops program execution and I have to click run again.

Is there any way to disable this?

Many Thanks
-Paul

 
AFAIK, you have to either take it out of debug mode or catch the execeptions.


James P. Cottingham

When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.
[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
 
sorry - should have stated that all my exceptions have catch blocks. as soon as I throw anything the execution pauses.

i need debug mode to use breakpoints etc so cant switch it off :(

thanks
-paul
 
There is a way to do this...I've done it before. But...I just can't remember. Try going to Debugger Options under the tools menu. Maybe uncheck Integrated debugger (although I think this loses breakpoint functionality). Also go to the Language Exceptions tab and unselect "Stop on C++ Exceptions" and maybe that will work.

Good luck,
Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top