Visual Studio :: Mapped Breakpoints In Mvc Views Not Working?

Jul 12, 2010

I have a asp.net mvc project in VS2010. In it I have a view called main.aspx that contains alot of javascript that frequently needs to be debugged. I can set the break point in the aspx page's javascript at edit time in VS2010. It appears as a mapped breakpoint. When I launch the debugger/IE browser, the javascript break point never gets hit. If I add a debugger; statement to my javascript I can launch a new visual studio instance and debug javascript. Unforunately, this requires a second visual studio instance and I have to set breakpoints all over again when I do it this way. Also, I have to remember to remove the debugger; statement when I am finished debugging. Is there a better way to get client side breakpoints working in Visual Studio 2010/IE?

View 3 Replies


Similar Messages:

Visual Studio :: FileWatcher Not Working On The Mapped Drive?

Feb 10, 2010

I am facing a wired issue currently. I have created a application that runs on FileWatcher system. It works fine on the local folder but when I try to use it over a mapped network I am getting following error:

System : The directory name Z:Pratik TalatiDownloadssharedinput is invalid.

or

mscorlib : The path is not of a legal form.

View 1 Replies

Visual Studio :: Breakpoints Stopped Working During Debugging?

Sep 3, 2010

I had the strangest bug yesterday while trying to debug in vs.net 2005....

I had an '05 web application. I clicked the "Run" button to start debugging, and the webpage popped up fine. I could run through the pages fine. Everything seemed fine....UNTIL!

Until I tried to start inserting breakpoints into my code. The application ignored them. In addition, I noticed my little green visual studio "Start Debugging" arrow (which is normally greyed out while in debug mode) was green. It was as if visual studio completely detached itself from my website I was trying to debug.

After playing around with it for a while, I realized I also had a vs.net 2008 solution open as well. My '08 solution wasn't in debug mode or anything, it was just sitting there open. I just happened to close it, not thinking anything of it, and presto! My 2005 debugger started working again!

So basically, I can't debug an '05 solution (or at least a web solution, as that's all I tried) while I also have an '08 solution open.

View 2 Replies

Visual Studio :: Breakpoints Not Working In 2008: "No Symbols Have Been Loaded For This Document?

Oct 13, 2010

nfortunately, I can't get my breakpoints to work when in debug mode in Visual Studio 2008 (ASP.NET 3.5, Windows 7, IIS7). The website compiles and opens in debug mode, but the breakpoints themselves generate the following error message:"The breakpoint will not currently be hit. No symbols have been loaded for this document."There are some recommended solutions online, but for various reasons, either they haven't applied or I haven't been able to make them work. I've been trying to find the solution for about 12 hours now, and I'm getting desperate.(Note 1: This problem is specific to this website. I do have other websites that I open in VS2008 where the breakpoints work fine.)(Note 2: There is only one website/project associated with this problem. This website does not have multiple projects.)

View 1 Replies

Visual Studio :: Unable To Use Breakpoints?

Mar 17, 2010

I have my project in VS2005, its is working fine last few years, But now durning development i face problem regarding breakpoints, here Im unable to get stoppage at breakpoints, I have change setting of security in Internet options add localhost as trusted site, but still its remain the same.

I also try Attach to process.... option from the debug, here webDev.WebServer process of running site is disable. Now Im totally unable to debug my project.

View 6 Replies

Visual Studio :: Can't Insert Breakpoints In JavaScript

Aug 5, 2010

When I try to set breakpoints in a JavaScript code file, I get the warning, "The breakpoint will not currently be hit. No symbols have been loaded for this document."

This is a fairly large project that was working normally under VS 2008. I just installed VS 2010 Pro Academic, and this is one of the new problems that have appeared. It's running under Win 7 64-bit, IE 8, and both of the IE "disable script debugging" options are turned off. Debugging is enabled in the web.config file. The JavaScript code in question is being executed normally, and inserting "debugger" in the code works as expected. While running under debugging, you can open the corresponding script document from the Solution Explorer, Script Documents, and insert breakpoints just fine. Attaching to the IE process (from the Debug menu) doesn't seem to make any difference.

Basically, everything I can think of looks normal, and yet I can't insert breakpoints into the original source code with VS 2010. The problem is reproducible on more than one JavaScript source file. I rebooted and consults The Great Google, all to no avail.

This is a real headache for development. Has anyone else discovered a fix for this?

(UPDATE: I spent a few hours and created a new project, and copied all of the files from the original to the new one. Now, I can set breakpoints n the new project, but still can't in the original. Something's different between the two, but it isn't clear what it could be.)

View 12 Replies

Visual Studio :: Encountered:No Syntax HighlightingNo Breakpoints?

Sep 1, 2010

We've currently migrated our Classic ASP web to ASP.NET. Our greatest hope lies in using the Visual Studio for debugging. But this hope was destroyed devastatingly.There are lot of issues we encountered:No syntax highlightingNo breakpoints (message: "This is not a valid location for a breakpoint.")No Intellisense
We cannot find the reasons. But we think VS can't resolve our include links correctly. (In our case we remove all inludes and the page was highlighted again.)That's why we have a lot of questions:Can VS2008 handle includes (<!-- #include file="myinclude.inc" -->) at all?Are there any constraints we need to know? Maximal lines to include? Including<% .. %> or <script language="vb" runat="server"> .. </script>?
What settings have to be made?

View 3 Replies

C# - Visual Studio 2010: Breakpoints Don't Work After Rebuild

Jan 25, 2011

I'm working on a VS2010 Solution containing an ASP.NET Website Project and 8 c# class libraries. All projects are set to compile under .NET 3.5

When I set a breakpoint somewhere in the class libraries, the debugger breaks correctly and everything is fine. If I then stop debugging, modify code in the class library, and start debugging again (which of course rebuilds the libraries which were modified) the debugger ignores the breakpoints.

Has anyone else experienced anything like this? I'm lost and it's extremely frustrating to not be able to debug after making even a single line change and rebuilding.

Visual Studio 2010 Ultimate Windows 7 Professional 64-bit

View 2 Replies

Visual Studio :: Unable To Put Breakpoints On Client Side JavaScript Code

Mar 20, 2010

I am using VS2008, SP1. I am unable to put breakpoints in my client side javascript code. Wherever I try to put the breakpoint, I am getting the message: "This is not a valid location to put the breakpoint". I have the js intellisense working fine. I also unchecked the two "Disable Debugging" checkboxes on IE. Due to this problem, I am unable to debug the js in VS 2008.

View 3 Replies

Visual Studio 2008 Debugging Zombie Breakpoints Come Back After Being Deleted?

Jun 30, 2010

In Visual Studio 2008 while debugging an ASP.Net website I set a breakpoint in the codebehind page. I refresh the page or submit to call the method, the breakpoint is hit. Then I delete the breakpoint and continue execution. I make a change to the codebehind page and save it. I submit or refresh again and the deleted breakpoint is back! It is hit again, and I delete it again. I have tried delete, disable, nothing works it keeps coming back if I make a change to the page. It is extremely annoying and unproductive. The only way I have found to make the breakpoint permanently go away is to use the Debug menu Delete all breakpoints item, which is obviously less than ideal. I have been able to reproduce this on other developers machines also. What is going on here? Is this by design? Is it a bug in VS? How do I keep these zombie breakpoints from resurrecting?

View 4 Replies

Publishing Web Application To A Mapped Drive With Visual Studio 2008 And Windows 7

Oct 21, 2010

We have a shared drive where web applications are published to. When I attempt to publish I get the following error:

------ Publish started: Project: XXX.Web, Configuration: Release Any CPU ------
Connecting to T:WebSitesXXX...

Unable to create the Web site 'T:WebSitesXXX'. The path 'T:WebSitesXXX' does not exist or you do not have access. The system cannot find the path specified.

Details

OS: Windows 7
IDE: Visual Studio 2008 (running as administrator)
Path exists? Yup.

I assume it's some permissions issue, but I have no idea where to start.

View 2 Replies

'Add Config Transforms' And One Click Publish Option Not Working When Upgraded From Visual Studio 2005 To Visual Studio 2010

Jul 28, 2010

I just recently upgrade my asp.net web project from visual studio 2005 to visual studio 2010. The upgrade was successful with no problems however im missing some features with this project. The One Click Publish feature(which is greyed out) in the header area of Visual Studio 2010 and the Add Config Transforms feature which is no where to be seen when you right click on web.config. When i create a new web project straight from visual studio 2010, these options work fine.

View 1 Replies

Visual Studio :: Javascript Debugger Is Not Working On Mozilla Firefox But Working Fine On IE8?

Jan 15, 2011

I am using vs2008 pro. my problem is that javascript debugger is not working on mozila firefox but working fine on IE8.

View 1 Replies

Visual Studio :: How To Convert Whole Visual Studio 2008 Web Site Project To Visual Studio 2010

Aug 14, 2010

is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project

my current project references

i have a very annoying iis problem

iis server stops working until app pool is recycled

i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem

View 2 Replies

Visual Studio ::IDE Not Working Properly

Jan 24, 2011

I have VS 2010. But IDE Not Working Properly like some times breakpoints are not applied, auto complete text is not showing etc.,

How can I get VS 2010 IDE right.

I have done Devenv /ResetSkipPkgs also...and resettes all the settings.

View 1 Replies

Visual Studio :: Toolbox Tab Is Not Working?

Apr 5, 2010

i was trying to build a basic web form using labels and textboxes but in my tool box i couldnt find any tools can some one help me how to configure those tools in the tool box,and also in APP_DATA i couldnt find the option like ADDNEW ITEM i am currently using visual studio 2008 trail versio

View 1 Replies

Visual Studio :: C# Breakpoint Is Not Working?

Feb 2, 2010

I'm having problem in using breakpoint. I'm creating a website in VS2005 in ASP.Net/C# language. but the problem is i can't seem to use the breakpoint.After putting the toggle breakpoint, and i clicked start debugging. it won't hit the breakpoint. but it will start running.however at the breakpoint (it should be a big red dot), it changed to something like this.then the program will continue to run but not hitting the breakpoint. i tried my program using my friend vs2005, the breakpoint can be hit...does anyone able to help me to solve the problem? i tried to search the solution in google and here. but seems like the solution doesn't work.

View 10 Replies

CSS Only Working In Visual Studio Designer?

Mar 7, 2010

I'm working on a Web Application in Visual Studio 2008. For some reason the CSS only works properly inside visual studio. I can see the CSS inside the design view of the page. When I view the page on localhost the CSS is not being applied. This is just a very simple sample that I am working with. Only 2 pages, a master page, and a default page.

Here is the master page.

<head runat="server">
<titleFoobar</title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>

[Code]...

View 3 Replies

Visual Studio :: Debugging Is Not Working?

May 7, 2010

i put a break point at ADD button, when ever i click on the button the it is not entering into that?

what might be the problem?

previously it has worked but its not working.

View 1 Replies

Visual Studio :: Opening Visual Studio 2008 Project In Visual Studio 2010?

May 21, 2010

Anyone know if I can maintain a VS 2008 (.net 3.5) project by using the VS 2010 IDE ?

View 1 Replies

Visual Studio :: Using CSS Within A Placeholder - Code Is Not Working

Apr 30, 2010

Im trying to do this

[Code]....

But it doesnt like

[Code]....

Won't work for me since this is a mobile application.

View 2 Replies

Visual Studio :: CSS Not Working In IE Through Debug Mode?

Apr 19, 2010

Im using Visual Studio 2010 in Windows 7.

I got a problem regarding CSS in my pages. I managed to apply styles to my page using css and everything looks fine in the Design view. I ran it on IE8 and everything is working fine. Now after I returned to Visual Studio, added some rules to my CSS, and noticing that everything is working fine in the Design view, I ran it again in IE8 and nothing has changed. The rules I added was ignored and it looks the same. I ran it on Firefox and Google Chrome and it's working fine.

But if I ran my project in IE8 through IIS7.5, everything is working fine so it means, the problem is within visual studio 2010.

View 1 Replies

C# - Visual Studio 2008 Breakpoint Is Not Working?

Apr 23, 2010

I am working on an ASP.NET project and I cannot make the breakpoints work! The project does not stop where I place a breakpoint. It does not seem to matter where I place the breakpoint.

I am in debug mode; I am using IE 8, Windows 7 OS;

View 4 Replies

Visual Studio :: Web Application Not Working Properly

Mar 1, 2011

earlier i had win xp & VS2005 , i had a web application ajax based which was working fine. i changed th eOS to win 2008 , installed & confirgued IIS

now when i am trying to exccute the application the page is not getting displayed even after a long time

when i build the application in this new OS there are no Errors shown but the page of the web application is not displayed

i even tried thr' IIS , selected the first page & clicked browse but that too is not showing

wht chngaes needs to be made ? & where do i debug??

View 3 Replies

Visual Studio :: Getting Website Working On New Computer?

Apr 8, 2010

I'm developing a website using Visual Studio 2010 Beta on computer 1. The site is working...I can debug, the pages render in a browser and I even have Member accounts working. Life is good.

I'm trying to move the application to the new computer (computer 2). I've downloaded Visual Studio Beta 2010 (slightly different look and feel) and copied the project over.

When I try to run the project in the new computer I'm getting the error:

Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

Not sure where to go with this. The web.config file is identical on both computers. The project is set to run with .Net 4 on both computers. Not sure why the targetFramework attribute would be allowed on computer 1 but not on computer 2.Maybe the earlier version of VS 2010 on computer 1 is allowing something that shouldn't be allowed?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved