Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

debugging client script

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Help!! how do i debug client script (Jscript) in the new visual studio.net environment?? nothing i do seems to work,
the ie6 script debugger doesn't work (break on next statment) and when running htm or aspx file from visual studio (F5) it ignores break points in client .
server script can be debugged thu

Thanx.................
 
Hi .Net (Visitor),

I don't know if it's possible in VS.Net, but I've had the same problem with VS 6 and IE 6.

I solved it by first 'opening' the debugger, and not using 'break at next statement'.

After opening the debugger and setting breakpoints I was able to debug my code.

Greetzzz...

Raver1
 
Just want to throw this out there, but make sure you are on your running document before setting break points. I'm not sure about .Net but if you are not in a running document, you will not break.

It's buggy and half functional anyway...

What I generally do, if I have problems getting inside a document - if it won't show up as a running document in memory - is to throw an error as the first line of code. For example: i = 1/0;

Or throw in alerts to test it if I'm not ready to break.

I doubt it helped, but it didn't hurt to mention it, right? Heh. "It's easier to ask forgiveness than it is to get permission." - Rear Admiral Dr. Grace Hopper
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top