Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I set a breakpoint in an .asp page so that when I run it in the browser, so that when that line executes, Ill get the option to DEBUG (including STEP thru line by line) from that point?

0
Posted

How do I set a breakpoint in an .asp page so that when I run it in the browser, so that when that line executes, Ill get the option to DEBUG (including STEP thru line by line) from that point?

0

I’ve got this working to the extent that I have a .sln file which is my classic ASP site, I can set a start page, and put breakpoints into the code in VS.NET 2003 which will halt code execution and allow me to step through the code. It’s a massive productivity increase when maintaining dynamic pages, although focus is sometimes never returned to VS.NET and I have to reopen the solution, and run an iisreset. Here’s a starting point: http://www.asp101.com/tips/index.asp?id=122 To activate the script debugger (which then gives you the option to debug using the Microsft Script Debugger, or VS.NET, put a “stop” command in the page. This will activate the debugger without you having to purposefully place an error in your code. It’s been a while since I set this up, and I do remember that the page above only had about 75% of the story in my case, but it’ll get you started. You can also use VS.NET to hook into the Debug Processes, specifically DllHost.exe for classic ASP pages (IIRC).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.