Samsung/netcoredbg

Can't hit breakpoint in asp.net core web application

lem102 opened this issue · 4 comments

lem102 commented

Using the cli, if I attach to a running asp.net core program and put a breakpoint in a controller method, the debugger does not stop at the breakpoint when the controller endpoint is called.

To reproduce, clone this repo: https://github.com/FabianGosebrink/ASPNETCore-WebAPI-Sample
Try to debug one of the controller methods by placing a breakpoint, maybe add a Console.WriteLine to confirm that it is indeed running.

Some ideas as to where the problem is originating from (perhaps in the code, maybe in my machine 😄 ) would be appreciated, then I can take a look myself.

Did you build netcoredbg from source or used binaries? Do you run this on windows or linux?

lem102 commented

Sorry, I should have included that in my initial message.

Built from source, on debian linux.

Please share build commands too

lem102 commented

I was mistaken in the nature of the bug I am experiencing. I will close this issue and open another one.