S
seenutn
Hi,
These questions are on C++ and Exceptions.
1) How can I debug through gdb to find the location where exception
occured (Putting a breakpoint in exception handler will not help me as
the stack has already woundback and I have lost the information about
the code where it occured).
2) If I do "catch (...)", it will catch all exceptions. But in my
exception handler I want to know the type of exception that has
occured.
Note: I am using linux, gcc 3.4.3, gdb 6.1
Regards,
Seenu.
These questions are on C++ and Exceptions.
1) How can I debug through gdb to find the location where exception
occured (Putting a breakpoint in exception handler will not help me as
the stack has already woundback and I have lost the information about
the code where it occured).
2) If I do "catch (...)", it will catch all exceptions. But in my
exception handler I want to know the type of exception that has
occured.
Note: I am using linux, gcc 3.4.3, gdb 6.1
Regards,
Seenu.