Getting Source Line #

Results 1 to 2 of 2

Thread: Getting Source Line #

  1. #1
    Join Date
    Dec 1969

    Default Getting Source Line #

    Is there a way to get the source line # where an error occurred when it occurs?<BR><BR>Jesse

  2. #2
    Join Date
    Dec 1969

    Default RE: Getting Source Line #

    Only in debug mode. Off the top of my head, I know that it&#039;s reported as a part of the exception stack trace. <BR><BR>In production code though, (I.E., not compiled with debug info) the source code no longer exists, so there&#039;s no way for the runtime to return a source line for the exception. <BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts