How do I set a breakpoint in an attached process in visual studio?
-
I have started a local host application and I attached a project in visual studio to this iexplorer process what was running the app. But I am unable to set break points in the code. I have tried to set break points but the errors says: "This breakpoint will not currently be hit. No symbols have been loaded for this document." Please advise.
-
I have started a local host application and I attached a project in visual studio to this iexplorer process what was running the app. But I am unable to set break points in the code. I have tried to set break points but the errors says: "This breakpoint will not currently be hit. No symbols have been loaded for this document." Please advise.
It's because your code is not inside iexplorer.exe. It depends on what version of ASP.Net/Visual Studio but here are some examples, debugging - How do I attach the debugger to IIS instead of ASP.NET Development Server? - Stack Overflow[^]
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
-
I have started a local host application and I attached a project in visual studio to this iexplorer process what was running the app. But I am unable to set break points in the code. I have tried to set break points but the errors says: "This breakpoint will not currently be hit. No symbols have been loaded for this document." Please advise.
ASP.NET, MVC, WebApi, ..., code always runs entirely on the server side, not in the browser. You're looking for your code in the wrong process.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
ASP.NET, MVC, WebApi, ..., code always runs entirely on the server side, not in the browser. You're looking for your code in the wrong process.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
It's because your code is not inside iexplorer.exe. It depends on what version of ASP.Net/Visual Studio but here are some examples, debugging - How do I attach the debugger to IIS instead of ASP.NET Development Server? - Stack Overflow[^]
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.