.comment-link {margin-left:.6em;}

kHSw

Friday, September 10, 2004

Debug Client-Side Script in Visual Basic .NET

Tired of using alert() for debugging client-side JavaScript?
With Visual Studio .NET it's far more easier:

- Open Internet Explorer
- In the menu select Tools > Internet Options
- Click on the Advanced Tab
- Locate the Browsing section
- Clear the Disable script debugging checkbox
- Click OK
- Close Internet Explorer

Now put the next statement in the JavaScript block you want to debug:
debugger

When you run your project in debug mode, the Script Debugger will stop and you will be able to debug your script in a more comfortable way...

Make sure to have a look at http://support.microsoft.com/?kbid=317699 if you want more information on this.

0 Comments:

Post a Comment

<< Home


 
Stefanie Worm is het liefste vrouwtje van de wereld.
Melina is de liefste schatsie van de wereld (Erik De Maeyer).