简体   繁体   中英

Step in through referenced assemblies code in Visual Studio

I've several Visual Studio solutions.

Each solution has several projects generating an assembly.

All of these assemblies are generated by these projects.

So, these assemblies are loaded dinamically using two ways:

  • Referenced browsing the assembly location (for example Debug folder of each project).
  • NInject (loading classes of whichever assembly containing a classes implements an interface).

Currently, when I need to debug some code of these referenced or loaded assemblies, I need to generate an exception of whichever assembly I'd like to step in, and then Visual Studio, automatically shows me the code.

I figure out there is another way to be able to navigate through my code assemblies, however I've absolutly no idea how to do that.

You may open all your solutions at once in several Visual Studio instances.

Then you may start your main process. In all other VS instances select "Attach to Process ... Ctrl+Alt+P"

在此处输入图片说明

在此处输入图片说明

Find your process and attach to it

在此处输入图片说明

Then you may set breakpoint in any instance of your VS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM