By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,996 Members | 892 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,996 IT Pros & Developers. It's quick & easy.

Debug a .JS file

P: n/a
Hi,

Can I debug a .JS file present in my web apllication? How?
At this moment it is ignored any breakpoint that I set in .JS file. How can
I resolve this?
--
Programming ASP.NET with VB.NET

Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You need to attach to the iexplorer process that is the browser window you
are running your app in. Chosing debug in VS.NET and running that way,
attaches to the aspnet process - which is the server side process.

Another way, is to put the word 'debugger' in (or even anything else that
causes an error). This will bring up the ie debug window asking if you want
to debug. You say yes, chose an app with which to debug, and off you go.

"ruca" <ru***@iol.pt> wrote in message
news:uG**************@tk2msftngp13.phx.gbl...
Hi,

Can I debug a .JS file present in my web apllication? How?
At this moment it is ignored any breakpoint that I set in .JS file. How can I resolve this?
--
Programming ASP.NET with VB.NET

Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca

Nov 18 '05 #2

P: n/a
Use the Venkman JavaScript debugger for Mozilla
(http://www.mozilla.org/projects/venkman/). It's much more robust and
thorough tool than what is provided by Visual Studio.NET.
--
Peter O'Reilly
Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.