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

后端 未结 9 1471
你的背包
你的背包 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

    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

提交回复
热议问题