how to use javascript debugging - by Anirudha Gupta

Status : 

  By Design<br /><br />
		The product team believes this item works according to its intended design.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 641601 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 2/6/2011 10:08:50 AM
Access Restriction Public


i want to use javascript debugging in Vs 2010. how  i can use problem is that the certain jscript code try to get the value from browser by many method because some of them not implement in all browser. 

well so i got many time 

Microsoft JScript runtime error: Object doesn't support this property or method

so how i can stop them or not giving error only debug when i want to debug them.

Edited copy;-

i use jQuery plugin and that's work fine everywhere i means in every browser. well the function the plugin execute call three or four function some of them not implemented in all browser. 

in visual studio with IE i got the error that "
Microsoft JScript runtime error: Object doesn't support this property or method " because one of them not implemented in IE. well are their any way to stop showing this window in visual studio.

don't tell about code. code are fine. many of user use same code and same code work fine in all browser. tell me the way how i can stop showing error like that and don't break on it.

i need a thing that when i put breakpoint in Visual studio that they break on the trackpoint i  put in the code.

are their any way to stop the code on breakpoint only. i am spent some hour on application and found they harsh and  disturb me by giving error every time.

well how i can stop showing this type of error.

Sign in to post a comment.
Posted by Anirudha Gupta on 2/9/2011 at 6:14 PM
well the plugin i used is's smoth menu and jQuery UI both. suppose they need to call a function who worked in FF chrome but not in IE. like


then they give me error as same as my question. when code try to call three or four method whenever some of them not implemented in IE.that's no problem because try some other to get works. so when they call some function. unimplemented function whenever they call i found the error.
Posted by Microsoft on 2/9/2011 at 12:10 PM
Thanks again for your feedback. We couldn't reproduce the first issue that you mention in step 4. (From the repro steps it looked like you were unable to hit a breakpoint in an empty method.)

The runtime error that you describe is expected since in your example "int a" is not a valid JScript syntax and the method becomes undefined.

To reproduce the general case that you mentioned, you can replace your example with something like this:

var a = 119;

This will generate the "Object doesn't support this property or method" runtime error that you can ignore and run past it.

If you are still having problem with hitting breakpoint, please provide us with additional details and a code snippet.

Best Regards,
Visual Studio Debugger.
Posted by Microsoft on 2/6/2011 at 11:41 PM
Thanks for your feedback.
We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 2/6/2011 at 11:00 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(