source of exception

BCS BCS_member at pathlink.com
Sat May 6 22:05:51 PDT 2006


In article <e3jg4m$1jj0$1 at digitaldaemon.com>, Frank Benoit says...
>
>On linux with gdb:
>If i have an exception I cannot get the source of the exception. A msg
>like "std.format formatArg" lets me grep through my program and search
>for all lines calling format and analyse them as potential sources. And
>this is a good one. Try to find a ArrayBoundsException.
>
>Is there a chance to get the "catch throw" command (breaks on a c++
>throw) in gdb working?
>
>Or is there any better way to find the source?


I haven't tried it but you might be able to set a break point the exception's
constructor. If they don't have one, thay should (at least in the debug
version).





More information about the Digitalmars-d mailing list