473,811 Members | 3,264 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debug asp projects

Hello,

I have old asp code.
Also :
Microsoft Visual Studio .NET 2003.

I want to debug old asp (asp, not aspx).
The asp has no sln,
because it before dotnet -
can I attach the asp to a *.sln ?
Should I have to create an sln in order to debug my code ?

However :
How can I debug my code ?
For asp code & javascript code ?

Thanks :)
Mar 13 '06 #1
6 1369
You can debug your old ASP code as well as your javascript code using
VS2003. In order to debug ASP code you need to enable ASP debugging on
the site that you're running through the IIS manager go to the virtual
directory you want to be able to debug into, go to properties and
Configure->Debugging. If you want to debug javascript code then you
need to enable script debugging in IE.

You'll have to open up the code page (.asp, .html, .htm, whatever it
is) that holds the scripts you want to debug in the ide but you
shouldn't have to add it to your solution. If you set this up and still
aren't seeing your break points getting hit make sure that the debugger
has attached to the iexplore.exe process. If it hasn't then attach
manually under the Tools menu option.

Hope this helps.

-John

Mar 13 '06 #2
Thanks...

How can I attach debugger to the iexplore.exe ?
(I didn't find that option).

Thanks :)
Mar 13 '06 #3
I think I found it :
under debug -> processes.
choose the IExplorer (which must be openned), and press the attach problem.

One little problem, that when I debug the page,
and put a break-point on a specific line,
When the debugger reach that line,
it is reached once,
then I press the continue button,
but I should press also the break button.
so at each run I need to press two buttons again and again :
the <break all> button and the continue button.

What is wrong of above.

Help, please.

Thanks :)
Mar 13 '06 #4
Eitan,

I'm not sure I know what it is that you're describing. You should be
able to hit the breakpoint you've set beforehand when the code reaches
that line without any additional action from you. Once it's stopped you
will have to manually continue the processing but I don't know why this
would require two actions from you.

-John

Mar 13 '06 #5
Still, I have a problem.

There is a button, which when I stay on it,
it shows a tooltip "break all" (near the continue/start button).
When I run my program (asp),
I see that after reaching the breakpoint,
and clicking the "continue" button,
the "break all" button is switch from disable to enable state.
only after I press that button it is disable again.
I need to press that button,
because if not - it is enabled, and the breakpoint of my program is never
reached.

Thanks :)
Mar 14 '06 #6
....
Also,
after pressing "attach",
checking (checkbox = true) the :
common language runtime + script
(I have tried some combination, but with the same problem, as I've
mentioned).
Thanks :)
Mar 14 '06 #7

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

Similar topics

1
3957
by: Jimmy | last post by:
Hi, I was trying to debug two different ASP.NET projects at the same time. But I was only able to debug one of them and I got the following error for the other one: "Unable to start debugging on the web server. A debugger is already attached." When I further checked the Output window, I noticed another error message: 'Auto-attach to process ' aspnet_wp.exe' on machine 'CSSVR' failed.
6
1634
by: Alpha | last post by:
Hi, I'm fixing a bug in an application and need to step thru the appl to find where it's occuring. The main project includs 33 other projects each having a .resx file in it. When I step through it would give me message that it can't show me codes because only assembly codes are available. Is there any good article on how to debug something like this? Also, I've only being working with C#.net for 3 months and am still not very familiar...
2
4850
by: SM | last post by:
Have a solution which contains two projects. One is a MT/class project and another is a C# ASP.net project. The ASP.net project has a project reference set to the class project. I compile the projects in debug mode and run the ASP.net application but I cannot hit any break point. There are .pdb files with current date-time stamps generated for both the Class and Asp.net projects in the bin directory. The Debug->Process menu shows the...
6
1864
by: Peter Afonin | last post by:
Hello: I'm running Windows server 2003. I've never had any problems with debugging, but now I cannot debug ANY of my projects. I'm getting this error: "Error while trying to run project: Unable to start debugging on the web server. Access is denied." The only thing I've done recently was installing all the latest Microsoft
7
2179
by: Brad | last post by:
When debugging my current web project, in VS2003, I found I had lost the ability to drill down on watch objects in the Watch Window; I could only view the single value specific watch objects. Here's what I discovered. In addition to my main web project and several middle tier projects, I also added an "empty" web project in my solution (Add - New Project - Empty Web Project). This empty web project is what is causing the above...
0
1259
by: Eric Caron | last post by:
Hi everyone, I installed the .NET Framework 2.0 beta 2 on a dev server to test some new things in Web Developper Expres, but now when I try to remotely debug my 1.1 projects, I get the error message "Unable to start debugging on the web server. Would you like to disable future attempts to debug ASP.NET pages for this project?". Checked the usual suspects, like URLScan and the Debugging Users group, but nothing has changed. Anyone know...
1
1996
by: Epetruk | last post by:
Hello, In VS2003, I used to have two solutions - a debug and release solution. Each solution had a webservice project and several other class library projects. The webservice project referenced all the other class library projects (i.e. so that it used the dll created when those other projects were built). The debug solution was configured so that all the projects in it had debug
3
3780
by: Pete Kane | last post by:
Hello All, I'm having a problem debugging a project (contained in a solution containing eight other projects), whenever I set a breakpoint and press F5, the solution rebuilds itself ok but I then receive a dialog box stating "The following module was built either with optimizations enabled or without debug information" <name of errant module is hereTo debug this module, change its project build configuration to Debug mode. To suppress this...
6
9145
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++ project. I then add a class library, and add a reference to this project in the first project. When I do a release build, I see the following in the output from the DLL compile: /OUT:"C:\Documents and Settings\Andrew\My Documents\Visual Studio
6
2389
by: =?Utf-8?B?SHVnaA==?= | last post by:
Hi there We are trying to build a C sharp solution in Visual Studio 2005 Professional. We have a number of other assemblies, that do not form part of the solution. Assemblies that do form part of the solution have been referenced using the Projects tab in the Add Reference dialog. Assemblies that do not form part of the solution have been added usingthe
0
10647
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10386
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...
1
10398
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10133
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9204
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
7669
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
6889
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
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
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

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.