Is there a way to know where the exception was created? I catch an exception from a string being constructed with NULL, but do not know what string assignment causes the problem.
Thanks!
Is there a way to know where the exception was created? I catch an exception from a string being constructed with NULL, but do not know what string assignment causes the problem.
Thanks!
Usually if you are running through a debugger you can have execution stop when an exception is thrown and then check the stack to find the culprit.
I was trying to use a debugger.I found my error. I was trying to use gdb compiling with option -g. gdb can provide some (in)correct information when compiling in this mode.