There is a large application with 6 projects and 20 references. It cannot be run as a standalone application.
The question here is about invoking one specific method in one part of code that happens with a mouse click of the app in use. The code was written around 2005 and added to.
When the app is running and the user runs a page it brings sql data in, the user clicks on an item, the goal is to tell VS to run this method with the data just like the web page does. Is that possible? VS has the whole thing loaded up, it may not even build, the hope is to say start in this method, pass in the value "id=x43532343" and single step like it was debugging, but i dont care about anything else, if it hits some external reference that doesnt work? then stop and say cant continue.
But is testing from a method possible this way? I open some .cs file, go to some method, right click and say debug from here, it asks for input parameters, enter that, then click GO?
If it could run there would be a breakpoint at that method, and it would already have the params, then i could single step and see what happens and where it croaks. But how to invoke a method directly from a large project and step in?