New answers tagged exceptions
Depending on your problem and if there is a chance, you are running on linux,I can recommend using strace. There is a nice video. In general it is a low level tool revealing the systemcalls a monitored process does. To trace child processes, there is the option to follow those with -f. A typical call would be strace -p 1234 -f -e file -s 9999. That monitors ...
Your best chance would be to run the application with a debugger and set a breakpoint on that line (or the constructor of ConfusingException). Edit: It is possible to set a break point even in 3rd part applications when source may be unavailable. As in this case in the method or ConfusingException as suggested here.
Top 50 recent answers are included