Results 1 to 2 of 2

Thread: try:catch anemia

  1. #1
    ideprize is offline VB.NET Forum Enthusiast
    .NET Framework
    .NET 3.5
    Join Date
    Oct 2011
    Posts
    61
    Reputation
    67

    Question try:catch anemia

    Hi All

    Is it possible to force the .Net platform to give you the line number or the actual line that is causing the problem when the "exception" occurs (vb.net code). It is telling me what is wrong but no locality is provided. Sure would be nice to get a line number or the identity of the system variable - like lineno(). Thanks in advance.

    Respectfully,
    ideprize

  2. #2
    Herman is offline VB.NET Forum Idol
    .NET Framework
    .NET 4.0
    Join Date
    Oct 2011
    Location
    Montreal, QC, CA
    Posts
    865
    Reputation
    1209
    If you think you need a line number you are doing it wrong. Show us your code, we can help you figure it out.

Bookmarks

Posting Permissions

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