Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reason for VS.NET 'current breakpoint will not be hit' warning?

Trying to debug a controllers action method, and when I attach to process the debug icon goes hollow and says the 'current breakpoint will not be hit'

But I am doing a response.write at that point and when the page renders it does output the test text.

So that section is indeed being executed, why does debug mode not work?

like image 560
mrblah Avatar asked Dec 08 '25 08:12

mrblah


1 Answers

Your source code may be different than the version of the corresponding process that you are attaching to. Your other process may also be built in release mode, i.e., there is no debug info.

like image 174
Ed S. Avatar answered Dec 10 '25 15:12

Ed S.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!