How do I debugg JavaScript .NET

  • Thread starter Thread starter MS News
  • Start date Start date
M

MS News

Hello,

I followed some steps and still does not work at all

Am I supposed to use Stop, Debugger or some keyword

Why can't I just use Break points

I setup the application in IIS to Debugg
I setup IE to allow Script Debugging
I attached to Porcess from VS.NET

I am Missing something. What Is It? a brain?

Thanks in Advance.
 
To debug JavaScript on the client side, you need to do a few things:

1. In Internet Explorer's Advanced Options, uncheck "Disable Script
Debugging"
2. If you want to insert a breakpoint in your JavaScript, add the following
statement:

debugger;

JavaScript errors that occur will always result in a prompt asking you if
you want to open the debugger to debug the script.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Complex things are made up of
lots of simple things.
 
Thank You Kevin

Kevin Spencer said:
To debug JavaScript on the client side, you need to do a few things:

1. In Internet Explorer's Advanced Options, uncheck "Disable Script
Debugging"
2. If you want to insert a breakpoint in your JavaScript, add the following
statement:

debugger;

JavaScript errors that occur will always result in a prompt asking you if
you want to open the debugger to debug the script.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
http://www.takempis.com
Complex things are made up of
lots of simple things.
 
Back
Top