Line References on Errors?

W

Wayne Wengert

When I get runtime errors the stack trace includes a pointer to a specific
line in the code but that line often seems to point to the line that makes a
call to a subroutine while the error is somewhere in the subroutine? Is
there a way to get the actually line nbr that caused the error?

Wayne
 
T

Tampa.NET Koder

Well the stack trace is doing what it suppose to do. This is were debugging
comes in. If you downloaded the .NET framework SDK then you should have a
GUI version of the CLR debugger. Look for it in the GuiDebug folder in your
SDK install directory. Then use it to set a breakpoint and step through
your code until you break at the line causing the error.

BTW, I am assuming you are NOT using VS.NET, if you are, should have already
went through this process
 

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

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,268
Latest member
AshliMacin

Latest Threads

Top