Editing during Debugging of JavaScript with Visual Web Developer
Question:
Hi there,
I have visual web developer express. I am a .NET programmer, but I right now need to debug a separate piece of Javascript which is not ASP.
You know how in VB.NET, you can debug code, and edit it live during execution? Is that possible with Javascript, and how can I do it with Visual Web Developer? Or any other piece of software, mind you.
Here’s what I used to get the Express Edition to let me edit any JS file.
http://www.berniecode.com/blog/2007/03/08/how-to-debug-javascript-with-visual-web-developer-express/
Now, if only I could edit it live like in VB, move back and forth with the instruction pointer, etc? Right now when I go to the file I am debugging, even if it is added to the project, it says it is external and I can’t edit it.
If I need to buy VWD Pro I will but only if I’m sur eit has this feature.
Solution:
Are you opening your project in the web site model or solution model from VWD?
You can edit the JS file from VWD in web site model, and once you edit, save and Ctrl+F5 on your web page should do.
You can also set breakpoints by F9 key, but this works only if default browser is IE.
Do you use VWD 2008 or an earlier one?
Hope that helps.













Comments (0)
Trackbacks - Pingbacks (0)
Leave a Reply