473,324 Members | 2,581 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Better debugging of classic ASP with Visual Studio 2008 SP1

VS 2008 initially didn't debug classic ASP.
SP1 fixes this in some ways. You can debug if you select the debug option
to "Start Without Debugging, then either attach the debugger manually or
place a stop directive in the code which ends up doing the same thing.
The problem with this is that you can't debug browser side Javascript in the
same debug run.
You get a "The breakpoint will not currently be hit. The document is not
loaded." if you try to both at the same time.
Does anybody here know how to debug the whole application (Browser
Javascript and server side VBScript) in one run of the debugger?
Sep 10 '08 #1
4 12659
Hi Mike,

As for script debugging, class ASP's vbscript debugging is still
server-side debugging. While for the browser -side script(client script)
that's different from server-side classic ASP debugging. You need to follow
the client script debugging settings. Here is a blog entry on scottgu's
blog which mentioned this:

#VS 2008 JavaScript Debugging
http://weblogs.asp.net/scottgu/archi...script-debuggi
ng.aspx

So generally, in visual studio 2008, for client-side script debugging, you
can directly drop breakpoint on client-side script and the debugger can
help you automatically hit it when debugging running.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/...tance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: =?Utf-8?B?TWlrZSBHYWxl?= <Mi******@newsgroup.nospam>
Subject: Better debugging of classic ASP with Visual Studio 2008 SP1
Date: Tue, 9 Sep 2008 17:02:13 -0700
>
VS 2008 initially didn't debug classic ASP.
SP1 fixes this in some ways. You can debug if you select the debug option
to "Start Without Debugging, then either attach the debugger manually or
place a stop directive in the code which ends up doing the same thing.
The problem with this is that you can't debug browser side Javascript in
the
>same debug run.
You get a "The breakpoint will not currently be hit. The document is not
loaded." if you try to both at the same time.
Does anybody here know how to debug the whole application (Browser
Javascript and server side VBScript) in one run of the debugger?
Sep 10 '08 #2
Hi Steven,

That's not the issue.

I am able to debug JavaScript on the Browser, ASP.NET and ASP. No problem
I'm set up.

The issue I have is that I cannot debug both JavaScript on the browser and
classic ASP on the server, in the same debug session. (With ASPX I can debug
server and browser together.)

I expect there's a setting that enables me to do both together for the
classic ASP case.

I'd like to know what the setting / technique is.

Failing that confirmation that this is not possible would save me spending
any more hours looking for it.

Sep 10 '08 #3
I've just had a message from Mikhail Arkhipov who knows all about this
debugging.

He confirms that both cannot be debugged in the same session. (Though he
suggests a macro may be possible that enables that. I have no plans to write
such a macro myself.)
Sep 10 '08 #4
Thanks for your reply Mike,

Then, that'll be a limitation of the classic ASP debugging. You may need to
separate the client-side and server-side debugging process in your case.

Sincerely,

Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.


--------------------
>From: =?Utf-8?B?TWlrZSBHYWxl?= <Mi******@newsgroup.nospam>
References: <FD**********************************@microsoft.co m>
<jQ**************@TK2MSFTNGHUB02.phx.gbl>
<86**********************************@microsoft.co m>
>Subject: RE: Better debugging of classic ASP with Visual Studio 2008 SP1
Date: Tue, 9 Sep 2008 22:23:01 -0700
>
I've just had a message from Mikhail Arkhipov who knows all about this
debugging.

He confirms that both cannot be debugged in the same session. (Though he
suggests a macro may be possible that enables that. I have no plans to
write
>such a macro myself.)
Sep 15 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

99
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a...
2
by: Stephanie Stowe | last post by:
I do not know if this is the right place. I cannot find a studio.net group... I want to debug and ASP.NET app. This app is always launched from our classic ASP app. The ASP classic app has a...
5
by: Velvet | last post by:
Can someone tell me to what process I need to attach to be able to step through my classic ASP code in VS.net 2003. I'm working on an XP box with IIS installed. I also have VS.net 2005 (The...
23
by: keyser_Soze | last post by:
I have MS Visual Studio 2003 on Windows XP Pro. I have IIS running on this machine and I am trying to debug some existing code which has both ASP and ASP.NET components. When I try and launch...
4
by: KevinGPO | last post by:
I am currently developing a website in ASP (VBScript) using MS Visual C#.NET IDE. I just create a new "ASP.NET Web Application" and point to my local webserver (IIS) of my website address. Then I...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
3
by: Lloyd Sheen | last post by:
The text below is from the immediate window: ?DownloadZipFile.Attributes.Count 1 ?DownloadZipFile.Attributes(0) Nothing Now that makes no sense. Why when I add an attribute to a element...
11
by: Jan T. | last post by:
I wonder if anybody know a web site that has a good tutorial on this subject. What I want to do, is make a log in Page, and make sure that all my pages is validating that the user is loged in...
7
by: luker | last post by:
Hello Experts, I am writing an application for a device running windows xp embedded. I want to code on my developer pc and deploy the running executable to the embedded device. - The two boxes...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.