Exception handling

  • Thread starter Thread starter Igor
  • Start date Start date
I

Igor

Can I somehow know when I catch an exception on which line it exectly
occured?

Thanks.
 
Hi Igor,

Compile the assembly(ies) with debug information and deploy the .pdb file(s)
along with the .dll/.exe(s) for all assemblies in your program
Then, the StackTrace will contain line numbers along with method names
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top