?

Log in

Previous Entry | Next Entry

To debug javascript we need to enter the debugger keyword from the point where we want visual studio to start debugging. For instance in the below method “SomeEvent” we want visual studio to start debugging when the method starts executing , so we have inserted  the “debugger” keyword just at the start of the method.

debug 3

Now hit the visual studio debug button and ensure that the application runs with internet explorer. If you run the code in other explorer visual studio debugging will not start.

                                                  debug 1                                  

Now when the event fires you should see the visual studio debugger debugging your javascript code from the point where you have inserted the “debugger” keyword.

                          debug 2

We are thankful to questpond.com to provide this ASP.NET Javascript interview question with answer.

Below is a nice ASP.NET interview question video on throw VS  throw ex.

Copy right www.questpond.com

Buy 600+ Real Time Interview Videos

Call +91-22-66752917 or mail us on questpond@questpond.com for more details on C#, .NET, ASP.NET, SQL Server interview question videos.

SQL Server interview question videos

Latest Month

January 2017
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031    

Tags

Powered by LiveJournal.com