I have scripts in my ASPX page, in the header section.
I want to debug it (with breakpoints) in Firefox.
Get Firebug
(source: getfirebug.com)
But if you really wanna use Visual Studio to debug your javascript, here are a couple of pages that will help you out :
VS 2008 JavaScript Debugging (ScottGu)
VISUAL STUDIO 2008 JAVASCRIPT DEBUGGING
How to debug JavaScript with Visual Web Developer Express
Visual Studio 2008 simplifies JavaScript debugging
JavaScript Debugging in Visual Studio 2008 (Video)
Related
Is it possible to have the same application and debug client-side parts in the visual studio code and server-side parts in the visual studio? ASP.NET Core in particular
I actually figured it out by myself, so if anyone's wondering this is what you have to do:
VScode launch url should be the same as is on the visual studio, you should open client side project or wherever your files are. Vs should run on IIS server, that way you wont need to debug in visual studio in case you don't like debugging in chrome.
I have windows xp service pack 3 so i cannot download some of the proggrams.
I downloaded the next proggrams:
*visual c++ 2005 express edition(by the way it's imposibble to find the visual studio express edition of 2005 on microsoft download center)
*microsoft web platformer installer
*windows installer
*microsoft .net framework 2.0 service pack 1
*microsoft sql server 2005 express edition
and i still cannot run aspx files. everytime im trying to open an aspx file it opens it as text file, and doesnt allow me to run it(the file worked on other computers).
I assume the problem is in my visual studio version, can someone give me a link to a visual studio that will work for me(p.s if I need to download new sql server proggram or net framework I'll appriciate if you tell me as well).
and remember that I have winxp so I cant download visual studio 2012(p.s there is a way you can somehow devolop without paying for the software?)
any help will be apperciate.
Tnx Dean.
You need Visual Studio Web Developer Express and not Visual C++ Express Edition. Here is the link http://go.microsoft.com/fwlink/?LinkId=51413&clcid=0x409
And here you have 2008 - should work on XP too - http://www.asp.net/downloads/essential
I had convert my web application from visual studio 2003(framework 1.1) to visual studio 2010(framework 4.0).
After converted, I have pug-in Ajax 3.5 and test my web application.
The web application run well but the Ajax doesn't work.
There are not error appear in the application also.
What can I do in other to make the Ajax work???
Please advice...Thanks in advance.
Here is the solution:
just remove the script managers from the pages and add it again how it was, from the Visual Studio tool box.
close the browser and run it.
It should work fine.
I have some issues running any project in visual studio.
Even with new websites, I get the error in title.
If I visit the website using internet explorer and localhost/project it works. However, I cannot debug it in visual studio
Any ideas?
How can visual web developer Express Edition highlight the classic asp-Tags (<% asp code %>) insight the Javascript code?
If i write
<script>
alert("<% =session("user_name %> ");
</script>
VWD highlights this as a string and not as asp-code. This is total confusing in these old files i'm working with.
Looks like this is a known issue on Microsoft Connect with a few workarounds, however the syntax highlighting was removed in VS2008. The response from Microsoft (verbatim):
Thank you for this feedback. We are
depcrecting VB Script colorization and
intellisense support in Visual Studio
2008. We recommend to customers to use VS 2005 or VWD 2005 to edit VB
Script.
Those products can be installed on the
same machine as VS 2008 without any
issues.
Visual Web Developer Team
Check here for more information:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=290845