i have although unticked disable javascript debuggin from IE settings for IE and for other browser but when i begud my application and place a breakpoint on jquery or javascript code.
it donot stops or debug the javascript and jquery
How i can debug these codes ?
Thanks
Mark My Post As An Answer If It Worked !
Please Visit : www.classifiedspak.com
As per my limited knowledge,you cannot debug like u debug in asp.net.
I put alert in order to test javascript/jquery. function.put alert in each line,in order to test value.
I use firefox inspect element tool,and keep watching error console of firefox
shan000
Member
491 Points
446 Posts
how to debug jquery and javascript in visual studio
Jul 15, 2012 06:40 PM|LINK
Hi,
i have although unticked disable javascript debuggin from IE settings for IE and for other browser but when i begud my application and place a breakpoint on jquery or javascript code.
it donot stops or debug the javascript and jquery
How i can debug these codes ?
Thanks
Please Visit : www.classifiedspak.com
KumarHarsh
All-Star
15133 Points
3647 Posts
Re: how to debug jquery and javascript in visual studio
Jul 16, 2012 04:49 AM|LINK
As per my limited knowledge,you cannot debug like u debug in asp.net.
I put alert in order to test javascript/jquery. function.put alert in each line,in order to test value.
I use firefox inspect element tool,and keep watching error console of firefox
Kumar Harsh
karang
Contributor
2439 Points
918 Posts
Re: how to debug jquery and javascript in visual studio
Jul 16, 2012 04:54 AM|LINK
Hi
Write debugger; before the line you want to start debugging.
Karan Gupta
http://gyansangrah.com
Please click "Mark as Answer" if this helped you.
KumarHarsh
All-Star
15133 Points
3647 Posts
Re: how to debug jquery and javascript in visual studio
Jul 16, 2012 05:08 AM|LINK
thanks for the tip karang
Kumar Harsh
asteranup
All-Star
30184 Points
4906 Posts
Re: how to debug jquery and javascript in visual studio
Jul 16, 2012 07:43 AM|LINK
Hi,
Check few posts here-
http://delicious.com/anupdg/Debugging
Anup Das Gupta
Mark as Answer if you feel so. Visit My Blog
Song-Tian - ...
All-Star
43697 Points
4304 Posts
Microsoft
Re: how to debug jquery and javascript in visual studio
Jul 16, 2012 07:52 AM|LINK
Hi,
I think you should debug javascript with IE Developer Tools. For how to use, please refer to: http://msdn.microsoft.com/en-us/library/ie/gg589507(v=vs.85).aspx.
Feedback to us
Develop and promote your apps in Windows Store