Results 1 to 2 of 2

Thread: get the code line number upon run time error???

  1. #1

    Thread Starter
    Member
    Join Date
    May 2003
    Posts
    58

    get the code line number upon run time error???

    hi,

    just out of curiosity, is it possible to get the code line number when a run time error occurs?

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    It's in the stacktrace. You can get the stacktrace from the exception object that gets thrown. There was a post a while back about how to break up the different parts of the stacktrace (i.e getting just the line number) if you want to search for it.

Posting Permissions

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



Click Here to Expand Forum to Full Width