Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugging exceptions
Debugging exceptions [message #163769] Mon, 13 February 2006 08:56 Go to next message
Eclipse UserFriend
Is there any support for debugging exceptions using GDB catchpoints under
Linux? If not, how can exceptions be debugged? When using Visual
Studio.net under Windows, you can control the debugger behavior to change
the way the debugger handles exceptions or categories of exceptions. I am
sorely missing this functionality in Eclipse...

Regards,

Laurence
Re: Debugging exceptions [message #163834 is a reply to message #163769] Tue, 14 February 2006 10:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailkhod.rogers.com

Unfortunately, there is no support for the exceptions debugging in the
current version of CDT.

"Laurence Earp" <laurence.earp@chipvision.com> wrote in message
news:3cfa14c7b9f2b4d06d04071c4babbf6d$1@www.eclipse.org...
> Is there any support for debugging exceptions using GDB catchpoints under
> Linux? If not, how can exceptions be debugged? When using Visual
> Studio.net under Windows, you can control the debugger behavior to change
> the way the debugger handles exceptions or categories of exceptions. I am
> sorely missing this functionality in Eclipse...
>
> Regards,
>
> Laurence
>
Re: Debugging exceptions [message #163850 is a reply to message #163834] Tue, 14 February 2006 12:13 Go to previous message
Eclipse UserFriend
Mikhail Khodjaiants wrote:

> Unfortunately, there is no support for the exceptions debugging in the
> current version of CDT.
>
> "Laurence Earp" <laurence.earp@chipvision.com> wrote in message
> news:3cfa14c7b9f2b4d06d04071c4babbf6d$1@www.eclipse.org...
>> Is there any support for debugging exceptions using GDB catchpoints under
>> Linux? If not, how can exceptions be debugged? When using Visual
>> Studio.net under Windows, you can control the debugger behavior to change
>> the way the debugger handles exceptions or categories of exceptions. I am
>> sorely missing this functionality in Eclipse...

There is no GUI support. But you can use the GDB console. To do that bring
the GDB console to front while your program is stopped (in a breakpoint).
Put the cursor in the last (empty) line (important) and type

catch throw

you should then see output like this to cnfirm that you have set the
catchpoint.

Catchpoint 3 (throw)


Happy debugging!

Lothar
Previous Topic:Syntax Highlight - Changing the back color for comments
Next Topic:CDT and BCC5_5
Goto Forum:
  


Current Time: Wed Jul 23 10:09:12 EDT 2025

Powered by FUDForum. Page generated in 0.03923 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top