Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you set a JavaScript breakpoint in a UserControl?

Visual Studio 2008, ASP.NET. Can you set a JavaScript breakpoint in a UserControl ascx page? I can set it in an aspx page.

like image 547
Lill Lansey Avatar asked Jan 28 '10 16:01

Lill Lansey


1 Answers

If you uncheck Disable Script Debugging in Internet Explorer it should hit debugger lines and prompt you with either the Built-In Debugger or you can use VS IDE. I don't think you need a semicolon afterwards

var i = 0;
debugger
// do work
like image 109
hunter Avatar answered Oct 08 '22 19:10

hunter