The breakpoint will not currently be hit. No symbols have been loaded

后端 未结 9 1328
你的背包
你的背包 2021-01-04 10:18

I am struggling with breakPoint issue in VS 2012 for more than hours. I am from eclipse background, there I never heard about such issues.

Problem :<

相关标签:
9条回答
  • 2021-01-04 11:19

    After opening and closing VS, rebooting the PC with all with no chance, this workaround worked for me in VS 2012 ( Ver 11.0.50727.1 RTMREL ):

    In Project Property Pages, under Start Options, in Debugger section, only ASP.NET was enabled. As soon as I enabled Native Code and SQL Server, that red circle with plus sign inside, enabled again. No idea why this worked! No active connection in Server Explorer nor using any native code in the project!

    0 讨论(0)
  • 2021-01-04 11:19

    I had the same problem. You can use VS2017 to debug JS code this way.

    When you set VS to launch the browser (Chrome in my case), it opens a new Chrome window. I was trying to debug the specific code (different URL from the window that opened) in a new tab. So I had the 'The breakpoint will not currently be hit. Breakpoint set but not yet bound' in VS.

    I found out that if I opened the new URL in the original tab it suddenly worked. Seems that VS is tied to that particular tab.

    Hope this helps.

    These are the particulars of my situation: VS 2017 - Mainly C# code with some embedded HTML/JS which I needed to debug, Chrome (Version 68.0.3440), Windows 10

    0 讨论(0)
  • 2021-01-04 11:25

    This results for me:

    In your web application make sure Silverlight and ASP.NET debugger are enabled.

    How to get there?

    => Right click on the Web Application => Properties => Web tab. Under Debuggers section make sure Silverlight and ASP.NET are enabled.

    0 讨论(0)
提交回复
热议问题