I mostly debug my aspx pages in chrome. It works fine and my breakpoint does get hit. However, I have a problem. Even though I close the browser the VS 2010 professional edition keeps showing running at the top of the taskbar. How can I get rid of this bug? It really annoys me. Everytime I have to manually click th开发者_JS百科e menu item of "Stop debugging". I've noticed that this doesn't happen when I debug in IE9. But I want to debug in Chrome only.
Most likely IE is your default browser. So when you launch debugging from VS (via F5), VS spwans it as its child process. In that case, when the child quites, it knows the child has terminated and stops debugging.
If you open Chrome yourself and browser to your site, the breakpoing is hit becuase VS is attached the worker process, not the browser. It has no idea when you close the browser as it is no t its child process.
If this is your case, then there is no bug. To stop debugging, you have to stop it via VS in that case.
Hope this helps.
精彩评论