473,405 Members | 2,404 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,405 software developers and data experts.

not use IE for ASP debugging

is there a way to use another browser for ASP debugging besides IE?

tia,
mcnewsxp
Jul 21 '05 #1
7 1478
Of course there is. In Visual Studio:

1) Select 'Processes' from the Debug menu
2) Attach the 'aspnet_wp.exe' process from the list
3) Check the 'Common Language Runtime' box
4) Close the dialog.
5) Launch your application in another browser like Firefox or Netscape

David Barkol
www.neudesic.com

Jul 21 '05 #2
Right click the ASPX page and choose "browse with". This will bring up a
dialog box where you can add the other browsers, and if you like set firefox
to be the default browser.

--
Thanks
Wayne Sepega
Jacksonville, Fl
"When a man sits with a pretty girl for an hour, it seems like a minute. But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein

"mcnewsxp" <mc******@mindspring.com> wrote in message
news:um**************@TK2MSFTNGP15.phx.gbl...
is there a way to use another browser for ASP debugging besides IE?

tia,
mcnewsxp

Jul 21 '05 #3
how about this:

In Solution Explorer,
-> Right click your application, and select Properties
-> Select Configuration Properties
-> Select Debugging
-> Turn off "Always Use Internet Explorer".
Your default web browser will be used to debug your app.
Jul 21 '05 #4
Hi all,

I successfully got the debugger to run with Firefox (thanks to the
previous postings!), and I can set and hit breakpoints in my *.aspx.cs
files, but I see no running documents in my running documents window,
which means that I can't step through JavaScript.

Has anyone experienced this problem before and can anyone help?

thanks,
amy

Wayne wrote:
Right click the ASPX page and choose "browse with". This will bring up a dialog box where you can add the other browsers, and if you like set firefox to be the default browser.

--
Thanks
Wayne Sepega
Jacksonville, Fl
"When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." - Albert Einstein

"mcnewsxp" <mc******@mindspring.com> wrote in message
news:um**************@TK2MSFTNGP15.phx.gbl...
is there a way to use another browser for ASP debugging besides IE?

tia,
mcnewsxp


Jul 21 '05 #5
> Hi all,

I successfully got the debugger to run with Firefox (thanks to the
previous postings!), and I can set and hit breakpoints in my *.aspx.cs files, but I see no running documents in my running documents window,
which means that I can't step through JavaScript.

Has anyone experienced this problem before and can anyone help?

thanks,
amy


Place the 'debugger' keyword in your javascript code where you would
like a breakpoint. Good luck.

David Barkol
www.neudesic.com

Jul 21 '05 #6
Thanks--I added 'debugger' to a few places in the code, but I'm still
not getting a dump of the call stack. I've attached the debugger to
the aspnet_wp process, and I checked both the CLR and Script options.
I also attached the debugger to the firefox.exe process--is this ok?

Specifically, my problem is this--I've got one .aspx page that calls a
bunch of javascript functions, located in various files. These calls
are made when the .aspx page loads. Everything works fine in IE, but
in firefox, it looks like those javascript functions aren't being
called (I tried putting alerts in the callee functions, and those
alerts didn't execute). But when I copy & paste those JS function into
the .aspx page, they execute.

I read something here : http://www.woodger.ca/httop.htm#incl_js and
the line that caught my eye was:

When using Navigator, you cannot use Windows notation for a file
directory location (i.e. "c:\html\the_script.js"). Instead, use the
browser file notation (e.g. "file:///C|/html/the_script.js") for
Navigator (IE supports either).

I tried changing the path to the javascript files, but that didn't do
anything--I don't completely understand what "browser file notation" is
and couldn't get any useful results when I typed "browser file
notation" in Google.

For example, if my .aspx file lives in C:/Inetpub/wwwroot/AppName, and
my javascript files are in the javascript subdirectory of AppName, I
tried to put

<script language="javascript"
src="file:///./javascript/jsFile1.js"></script>

and

<script language="javascript" src="file:///C|/[full path goes
here]/jsFile1.js"></script>

None of these worked, so I'm assuming it's my fault because I don't
know what "browser file notation" is.

What really throws me off is that I created a .htm file and had it
include 2 javascript files, and tested it in both IE and firefox, and
in both browsers I could execute the Javascript code.

So what I don't understand is:
1. Am I right in thinking that for some reason, Firefox can't find my
javascript files?
2. What is "browser file notation?"
3. Why would I be able to execute the javascript from a .htm but not
from a .aspx?

thanks in advance,
Amy


David Barkol wrote:
Hi all,

I successfully got the debugger to run with Firefox (thanks to the
previous postings!), and I can set and hit breakpoints in my

*.aspx.cs
files, but I see no running documents in my running documents window, which means that I can't step through JavaScript.

Has anyone experienced this problem before and can anyone help?

thanks,
amy


Place the 'debugger' keyword in your javascript code where you would
like a breakpoint. Good luck.

David Barkol
www.neudesic.com


Jul 21 '05 #7
Fixed my problems--I went into IIS and mapped *.js to MIME type
text/javascript, and now everything works fine. Thanks!

--Amy

Jul 21 '05 #8

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

Similar topics

0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
2
by: Andy Fish | last post by:
Hi, Using VS.NET 2003, when I use 'F5' to start debugging my web app, it obviously attaches the IDE to IIS for server debugging. However, it also seems to put IE into some kind of debugging mode...
2
by: Alex Clark | last post by:
Hi All, My system: WinXP Pro, VS.NET 2003, SQL Server Personal Edition. I'm having problems with my old favourite demon, SQL Debugging from within VS.NET. I have to say I've found this...
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...
6
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...
5
by: phnimx | last post by:
Hi , We have developed a number of plug-in .NET Library Components that we typically deploy with our various applications by installing them into the GAC. Each of the applications contains an...
5
by: =?Utf-8?B?Z2FkeWE=?= | last post by:
I can't get to debug on my local IIS using VStudio.net 2005 Prof. I can on the development server. I get the msg 'the server does not support debugging for asp.net...' I have done the following...
2
jwwicks
by: jwwicks | last post by:
C/C++ Programs and Debugging in Linux This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use...
4
by: =?Utf-8?B?TWlrZSBHYWxl?= | last post by:
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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,...

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.