ASP 101 - Active Server Pages 101 - Web01
The Place ASP Developers Go!



Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash



 Top ASP 101 Stories Top ASP 101 Stories
Connections, Commands, And Procedures
What is ASP?
VBScript Classes: Part 1 of N

QUICK TIP:
Autofix IIS Failures
Show All Tips >>
ASP 101 RSS Feed ASP 101 Updates


Quick Tips


Jump to Any Line Number in Visual Studio

So you're writing a new ASP script and you finally think everything is ready to go. You launch a browser to test it and, wouldn't you know it, you run into one of those ever so helpful error messages that looks something like this:

Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method.

/filename.asp, line 147

Now you've got to go back to Visual Studio (or Visual Studio.NET) to try and hunt down the problem. Wouldn't it be nice if there was an easy way to find it quickly? Well there is...

Visual Studio has a built-in "Go To..." command that will jump directly to any line you'd like. Simply double click on the line number display at the bottom of the Visual Studio window (the one that says something like "Ln 23 Col 45 Ch 45") and a little dialog box will appear. Enter the line number from the error message and you'll find yourself right at the offending line of code.

Oh... and for all you keyboard junkies out there, there's no need to ever move your hands from the keys. A simple little Ctrl+G brings up the same dialog box. Just type in the line number and hit Enter and you're back to coding without ever having to touch that silly mouse.

 

Thanks go out to Kirk Unangst for prompting me to write this tip.


Previous      Show All Tips      Next

If you have a tip you would like to submit, please send it to: webmaster@asp101.com.


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers