Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging an exception that only happens to exe but not from IDE

on closing the main form of the application(which I call so many methods on it,etc) if I run my application from IDE and want to close it, it is ok but if I just run the exe file It will throw an exception.

so what way do you propose to me for debugging it? as I said when I run it from the IDE, it is Ok and no error occurs

like image 805
Bohn Avatar asked Dec 29 '22 11:12

Bohn


1 Answers

Two things I can think of to try:

  • Run the application from outside the IDE but then attach to the process. It could be that when starting from the debugger the environment will be different in some way
  • Use adplus (see my earlier post here to catch the crash dump so you can analyse it later
like image 128
the_mandrill Avatar answered Dec 31 '22 14:12

the_mandrill