bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb break when exception is thrown how?


From: augie
Subject: gdb break when exception is thrown how?
Date: Sun, 10 Feb 2002 20:00:26 GMT
User-agent: Pan/0.10.0 (Unix)

i read this in the gdb documentation:

Set catchpoints to catch events.
Raised exceptions may be caught:
        catch throw               - all exceptions, when thrown

i read somewhere that when you use this gdb will break when a c++
exception is thrown, but im not quite sure how to use it?

i compiled with debugging set and then ran gdb on the program and tried
just typing "catch throw" but i get an error: 

"warning: Unsupported with this platform/compiler combination."

suggestions?

--augie



reply via email to

[Prev in Thread] Current Thread [Next in Thread]