Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to use stack trace to find error

Status
Not open for further replies.

Theseekers

Technical User
Jul 22, 2004
118
US
Hi there,

First, if I post my question in the wrong forum, please let me know.

I am maintaining an asp.net application (I am new at asp as well) and ran into a problem that related to htmlcontrols. On the error page in the browser, it gave me the error description and a section of the stack route with some controls and some + number (e.g. control.. + 234) so that you can find out which control is causing the problem.

Can some one please help me or show me the basic information on how to digest these stack pointer to find which html control is causing the problem.

I am sorry that I don't have my laptop with me at the moment so I can't dictate the exact error message, but it is about an html control can't not have multiple select when the multiple select property is diabled.

Any pointer is certainly appreciated.

TIA

Theseekers is out seeking......
 
If you're using visual studio, go to the class that's listed in the stacktrace, then goto the line number shown (Ctrl+G for the default VS.NET keymappings). That will be where the exception was thrown.

Or... if you picked the wrong line from the stacktrace, that'll be a method call, and the exception was thrown from there. Highlight the method name and hit F12 (again assuming the default keymappings) to take you there. Now search on the matching linenumber from the stacktrace.

Chip H.


____________________________________________________________________
Donate to Katrina relief:
If you want to get the best response to a question, please read FAQ222-2244 first
 
Thank Chiph,

I finally found where the error occur (THE HARD WAY), but now will use your advice for future troubleshooting.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top