Using VS2010 to debug code executed in Linqpad

I am trying to connect the VS2010 debugger to Linqpad so that when using classes from my C # project, I can add breakpoints and stop the execution of Linqpad.

But that won't work, Linqpad happily executes and finishes without hitting my breakpoints.

Now I read Linqpad a little, and it executes each "request" in its own process, does it somehow fool VS2010 so that the process I attached to does not execute my objects?

And if so, is there a way around this so that I can debug work with Linqpad?

+3
source share
1 answer

, , Linqpad appdomain , .

debugger.break() , .

, , , . .

Visual Studio LinqPad , , VS.

, linqpad .

- , .

LinqPad Visual Studio?

+5

Source: https://habr.com/ru/post/1770067/


All Articles