admin管理员组文章数量:1406002
My debugger stopped working as expected in Visual Studio Community 2015 (Update 1).
The solution I'm working on has the following architecture:
- "Query" project - written with angularjs 1.4
- "Login" project - written with angularjs 1.4
- More back-end projects - written with c#/web-api
I run the Query project, it checks for session and redirect to Login. After the login is successful it makes another redirect back to the Query url. Until yesterday I had no issues debugging the whole solution from VS directly. Now the behavior is that the first time I run the "Query" project, my breakpoints get hit. After ing back from Login, no breakpoint is hit.
Both client-side projects are hosted using IIS Express.
Things I tried until now:
- clean, build, rebuild the solution;
- attaching to process from VS. I attached to all IIS Express processes but with no luck;
- closing VS and deleting my bin and obj folders from all projects;
- restarting the machine;
Also good to mention that I have set in web.config:
<pilation debug="true"></pilation>
Any hint or idea is highly appreciated.
My debugger stopped working as expected in Visual Studio Community 2015 (Update 1).
The solution I'm working on has the following architecture:
- "Query" project - written with angularjs 1.4
- "Login" project - written with angularjs 1.4
- More back-end projects - written with c#/web-api
I run the Query project, it checks for session and redirect to Login. After the login is successful it makes another redirect back to the Query url. Until yesterday I had no issues debugging the whole solution from VS directly. Now the behavior is that the first time I run the "Query" project, my breakpoints get hit. After ing back from Login, no breakpoint is hit.
Both client-side projects are hosted using IIS Express.
Things I tried until now:
- clean, build, rebuild the solution;
- attaching to process from VS. I attached to all IIS Express processes but with no luck;
- closing VS and deleting my bin and obj folders from all projects;
- restarting the machine;
Also good to mention that I have set in web.config:
<pilation debug="true"></pilation>
Any hint or idea is highly appreciated.
Share Improve this question edited Jun 28, 2016 at 8:03 Marian Toader asked Jun 28, 2016 at 7:43 Marian ToaderMarian Toader 811 silver badge7 bronze badges 1- 1 uload the project and reload, or exlude the file from the project and include it,,, – Arun Prasad E S Commented Jun 28, 2016 at 7:58
3 Answers
Reset to default 2After trying more different solutions, the only thing that worked in my case was to unload/reload the project. Also, now the breakpoints that I set before the application runs are no longer getting hit, but if I set them after the application started then they work fine.
I can suggest some Stack Overflow answers related to this issue, maybe it helps:
New project and just importing the files into it: Upgrade to Visual Sudio 2015 and now can't hit break points in debuging
Manual check of the Symbol Load Information: Fixing "The breakpoint will not currently be hit. No symbols have been loaded for this document."
Incorrect configuration selected in the debug menu: Visual Studio breakpoints not being hit
In my case (Vs2019) the Microsoft Symbol server was causing the issue.
It was not being able to attach Local IIS.
Enabling only the NuGet Symbol server and disabling the Microsoft worked for me
本文标签: javascriptDebugger not working in visual studioStack Overflow
版权声明:本文标题:javascript - Debugger not working in visual studio - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744964657a2634870.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论