473,714 Members | 2,623 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp cade breakpoints does not stop code execution

Rea
Hi eb
I set some 'Stop' statements and also visual breakpoints
in asp code (vbscript).
I am doing that in Microsoft Script debugger.
Than I refresh the original page and expect execution to halt
at these breakpoints but unfortunatly it does not..
I had allowed script debugging in both iis home directory and in internet
explorer.
Also i added everyone from active directory to be members of debugging group.
Web Server is W2k sp4 and iis 5.?
Any idea of how to step into asp code will be appriciated!!
Mar 27 '06 #1
9 4910
=?Utf-8?B?UmVh?= wrote on 27 mrt 2006 in
microsoft.publi c.inetserver.as p.general:
Hi eb
I set some 'Stop' statements and also visual breakpoints
in asp code (vbscript).
I am doing that in Microsoft Script debugger.
ASP code runs only on a server.

stopping the code goes with:

<%
response.end
%>
Than I refresh the original page and expect execution to halt
at these breakpoints but unfortunatly it does not..
ASP (vbscript or jscript) renders html to be sent to the client browser.
I had allowed script debugging in both iis home directory and in
internet explorer.
ASP does not reach the browser,
so you can only debug with the resulting html, like this breakpoint:

<%
response.write "<br><br>variab le a = " & a
response.end
%>
Also i added everyone from active directory to be members of debugging
group. Web Server is W2k sp4 and iis 5.?
Again, that has nothing to do with asp execution(!!) of vbscript or
jscipt.
Any idea of how to step into asp code will be appriciated!!


"how to step into asp code" what do you mean?

Do you perhaps single-step the code?
That is imposible executing in ASP.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Mar 27 '06 #2

"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.242.. .
=?Utf-8?B?UmVh?= wrote on 27 mrt 2006 in
microsoft.publi c.inetserver.as p.general:
Hi eb
I set some 'Stop' statements and also visual breakpoints
in asp code (vbscript).
I am doing that in Microsoft Script debugger.


ASP code runs only on a server.

stopping the code goes with:

<%
response.end
%>


Response.End kills all further processing of an ASP script.

Stop raises a debug event, if an active debugger is configured execution is
halted at that point and the debugger is invoked.
Than I refresh the original page and expect execution to halt
at these breakpoints but unfortunatly it does not..


ASP (vbscript or jscript) renders html to be sent to the client browser.


No kidding? The refresh is being performed to cause the page to re-execute
in the hopes that this time the debugger will be invoked.

I had allowed script debugging in both iis home directory and in
internet explorer.


ASP does not reach the browser,
so you can only debug with the resulting html, like this breakpoint:

<%
response.write "<br><br>variab le a = " & a
response.end
%>


The above is not a breakpoint and does not cause the client to invoke a
debugger.
Also i added everyone from active directory to be members of debugging
group. Web Server is W2k sp4 and iis 5.?


Again, that has nothing to do with asp execution(!!) of vbscript or
jscipt.


Yes it does. To perform debugging on the server (including the debugging of
VBScripts running in ASP) the user under which the debugger runs often needs
to be a member of the Debugger Users group.
Any idea of how to step into asp code will be appriciated!!


"how to step into asp code" what do you mean?

Do you perhaps single-step the code?
That is imposible executing in ASP.


Not it isn't. It is possible to both locally and remotely debug ASP.
However remote debugging is a real faf and flaky at best.

There are a couple of options.

Simplest one is to Terminal Service on to the ASP server and run the
debugger client on the server itself.

Of course this isn't desirable (or possible) if your site is hosted by a
third party or if your pages are in live use.

The other option is to duplicate the site on a test server or locally in XP
IIS.5.1 and do all your debugging/testing there.

Anthony.
Mar 28 '06 #3
Anthony Jones wrote on 28 mrt 2006 in
microsoft.publi c.inetserver.as p.general:
<%
response.write "<br><br>variab le a = " & a
response.end
%>


The above is not a breakpoint and does not cause the client to invoke a
debugger.


If that is your definition of a breakpoint, you are right,
but the invocation of a debugger is not my primary idea of breakpoint and
debugging.

My idea:
Debugging is the act of identifying and getting rid of bugs.
On an interactive site this can best be done by human interaction.

A breakpoint can, but does not have to have a continue function to be a
breakpoint. [In a loop a breakpoint can be usefull, but as pressing
continue 10000 times is not my idea of fun, I usually do not really break
in a long loop, bur put in a temporary registration subroutine.]

Of course you have a right to your idea's and definitions.
I like mine better.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Mar 28 '06 #4

"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.242.. .
Anthony Jones wrote on 28 mrt 2006 in
microsoft.publi c.inetserver.as p.general:
<%
response.write "<br><br>variab le a = " & a
response.end
%>


The above is not a breakpoint and does not cause the client to invoke a
debugger.


If that is your definition of a breakpoint, you are right,
but the invocation of a debugger is not my primary idea of breakpoint and
debugging.

My idea:
Debugging is the act of identifying and getting rid of bugs.
On an interactive site this can best be done by human interaction.

A breakpoint can, but does not have to have a continue function to be a
breakpoint. [In a loop a breakpoint can be usefull, but as pressing
continue 10000 times is not my idea of fun, I usually do not really break
in a long loop, bur put in a temporary registration subroutine.]

Of course you have a right to your idea's and definitions.
I like mine better.

Ask a hundred professional developers 'What is a breakpoint?'

How many will give answers matching mine and how many will be closer to
yours?

Go ahead and like yours but keep it to yourself. In a public space such as
this group it would be better if we used terms as they are general
understood by the majority. Especially if we believe we are in a position
to be giving advice.

Mar 28 '06 #5
Anthony Jones wrote on 28 mrt 2006 in
microsoft.publi c.inetserver.as p.general:
Ask a hundred professional developers 'What is a breakpoint?'
Oh, "profession al developers", do they have priority on a usenet group?
How many will give answers matching mine and how many will be closer
to yours?
I doubt that, ... but go ahead and count if you think you must.
Go ahead and like yours but keep it to yourself.
You seem not to understand usenet.
Disagreeing and then ordering the other party to shut up ...
In a public space
such as this group it would be better if we used terms as they are
general understood by the majority.
.... because you insist that your own idea is the mayority, wether or not
that is true, will only make you the laughing stock of usenet.
Especially if we believe we are in a position to be giving advice.


Do you? And why are you suddenly plural?
Are there more Joneses thinking like you?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Mar 28 '06 #6

Anthony Jones wrote:
"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.242.. .
Anthony Jones wrote on 28 mrt 2006 in
microsoft.publi c.inetserver.as p.general:
> <%
> response.write "<br><br>variab le a = " & a
> response.end
> %>

The above is not a breakpoint and does not cause the client to invoke a
debugger.


If that is your definition of a breakpoint, you are right,
but the invocation of a debugger is not my primary idea of breakpoint and
debugging.

My idea:
Debugging is the act of identifying and getting rid of bugs.
On an interactive site this can best be done by human interaction.

A breakpoint can, but does not have to have a continue function to be a
breakpoint. [In a loop a breakpoint can be usefull, but as pressing
continue 10000 times is not my idea of fun, I usually do not really break
in a long loop, bur put in a temporary registration subroutine.]

Of course you have a right to your idea's and definitions.
I like mine better.

Ask a hundred professional developers 'What is a breakpoint?'

How many will give answers matching mine and how many will be closer to
yours?

Go ahead and like yours but keep it to yourself.

If Evertjan had done that, this discussion would never have taken
place. Personally, I found the points raised interesting and useful,
FWIW.

--
Mike Brind

Mar 28 '06 #7

"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.242.. .
Anthony Jones wrote on 28 mrt 2006 in
microsoft.publi c.inetserver.as p.general:
Ask a hundred professional developers 'What is a breakpoint?'
Oh, "profession al developers", do they have priority on a usenet group?
How many will give answers matching mine and how many will be closer
to yours?


I doubt that, ... but go ahead and count if you think you must.
Go ahead and like yours but keep it to yourself.


You seem not to understand usenet.
Disagreeing and then ordering the other party to shut up ...
In a public space
such as this group it would be better if we used terms as they are
general understood by the majority.


... because you insist that your own idea is the mayority, wether or not
that is true, will only make you the laughing stock of usenet.
Especially if we believe we are in a position to be giving advice.


Do you? And why are you suddenly plural?
Are there more Joneses thinking like you?


Evertjan,

I apologise.

Anthony. :)
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Mar 29 '06 #8
Anthony Jones wrote on 29 mrt 2006 in
microsoft.publi c.inetserver.as p.general:
> Especially if we believe we are in a position to be giving advice.


Do you? And why are you suddenly plural?
Are there more Joneses thinking like you?


Evertjan,

I apologise.

Anthony. :)


Anthony, I love a good fight, and this was one. ;-}

Theads consisting of:
I agree

I agree

I agree

are not my cup of tea.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Mar 29 '06 #9
microsoft.publi c.inetserver.as p.general:
Hi eb
Who are you replying to, without quoting?
I set some 'Stop' statements and also visual breakpoints
in asp code (vbscript).
And where would you like to see those "visual" breakpoints?
On the server display?
I am doing that in Microsoft Script debugger.
Than I refresh the original page and expect execution to halt
at these breakpoints but unfortunatly it does not..
ASP does not have breakpoints in your sense, since asp only sends rendered
html to the client. ASP has no display by itself.
I had allowed script debugging in both iis home directory and in
internet explorer.
The internet explorer should and does not receive asp code.

[...]
Any idea of how to step into asp code will be appriciated!!
You cannot and shuld not, see above.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Aug 22 '06 #10

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

Similar topics

2
2679
by: lafleur | last post by:
I solved this problem, and thought I should post a solution for it. I converted a VB.NET web app to C# using SharpDevelop. When I went to run the C# version, the IDE was ignoring breakpoints - ie. it wouldn't stop at breakpoints. After investigating, we found that we had to manually add this region to the .cs pages: #region Web Form Designer generated code
0
894
by: Howard Weiss | last post by:
I create a VB class and added it to my C++ solution. If I set breakpoints in my VB class and run the debugger, the breakpoints are displayed with ?'s and my application does not stop at the breakpoints. However, the code is clearly executed Any ideas? Howard Weiss
8
4129
by: Vidar Martinsen | last post by:
Hi I try to debug my program with breakpoints, but even if it the breakpoint is first in the form Load for the start-form, it seams to continue running and I have a very dificult time debugging becouse it seams to not stop at my breakpoints but continue running some how?? Is it possible thath it is more than one thread? Is it posible to forse one thread, so I can debug my aplication in a safe way.
4
1476
by: fred | last post by:
What has happened to my breakpoints? Whenever I start my application from the IDE in Visual Studio then all of the breakpoints show a "?" and a comment says "The breakpoint will not currently be hit. No symbols have been loaded for this document." Needless to say the program does not stop at the breakpoints anymore. What have I done to disable this breakpoints or more important how do I get them to work again. Thanks,
5
4569
by: venner | last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET 2.0. The website makes use of a central authentication service (CAS) provided at the university I work for. Each page checks a session variable, and if it is not present, does a Response.Redirect to a webpage for the CAS passing a url parameter for the url to post back to. The CAS provides a page for the user to log into, validates the username and password, and then...
3
1710
by: Randy Magruder | last post by:
Attn: Asp.net gurus...if anyone can help, I hope it's here. Okay, I'm at my wits end. I have googled til my fingers hurt and am still not finding answers. The symptoms are as follows: 1. I have 2 machines, my laptop and a desktop, both are set up for asp.net development. 2. The desktop machine has an asp.net 1.1 app written with vs.net
1
4785
by: Norman Diamond | last post by:
One Visual Studio 2005 solution contains a C# project and C++ ATL DLL project. The DLL compiles fine, gets registered automatically, gets referenced correctly when the C# program compiles, and gets called correctly during execution. So far, so good. During execution of the DLL, a call to the ATL/MFC shared library method CImage::Create returns FALSE. So I tried to set a breakpoint before the call. When not executing, Visual Studio...
2
2771
by: =?Utf-8?B?TG9zdCBJbiBUaGUgV29vZHM=?= | last post by:
I've seen a ton of posts about similar problems, but none of the solutions were effective. I've been maintaining this VB code for 3 years, and this is the first time this has happened. It seems that the first one or two breakpoints encountered trigger, but after that, none of my other breakpoints work. Also, when the breakpoints stop working, the debugger seems to lose track of what module the executing code is in, because when the fatal...
1
1990
by: Amrapali0917 | last post by:
Hello, A C++ / MFC program does not stop at breakpoints in any visual studio IDE but runs well. The project settings are ok as i have tried same program on different machines where it does stop at breakpoints.. How to solve the problem please help. Thanks.
0
8707
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9174
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7953
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6634
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5947
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4464
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4725
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3158
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2520
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.