Visual Studio 2015调试多种解决方案 [英] Visual studio 2015 debugging multiple solutions

查看:96
本文介绍了Visual Studio 2015调试多种解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有两个解决方案,可以说是SolutionA和SolutionB。这里SolutionB有一个类库,在SolutionA中引用。现在我想在调试时从SolutionA中逐步执行
SolutionB。




请协助。



非常感谢



我试过的:



我试过这个,有点工作但不完全。

a)在单独的VS2015实例中打开了两个解决方案,其中包含断点。

b)未选中"启用我的代码"。

Ran解决方案A然后点击SolutionA中的断点然后我做了F11 for Step-in到SolutionB。它是步入但相应的文件(在SolutionB中)
在SolutionA运行的同一个VS2015实例中打开。




我希望调试器应该跳转到SolutionB VS2015实例。



我尝试连接到进程,它与SolutionB VS2015实例一样进入了一些奇怪的阻塞状态(顶部有四个图标。
转到实时可视树,启用选择,显示布局装饰,跟踪聚焦元素

Hi, 
I have two solutions lets say SolutionA and SolutionB. Here SolutionB has class library which is referred in SolutionA. Now I want to step-in through the SolutionB from SolutionA while debugging it.

Please assist.

Many Thanks

What I have tried:

I tried this, sort of working but not completely.
a) opened both solutions in separate VS2015 instances with break points in it.
b) Unchecked "Enable Just my code".
Ran solution A and hit the breakpoint in SolutionA then I did F11 for Step-in to SolutionB. It was stepped-in but respective file (Which is in SolutionB) opened in same VS2015 instance where SolutionA is running.

I want debugger should jump on to SolutionB VS2015 instance.

I tried even attach to process, It was doing same along with SolutionB VS2015 instance went into some weird blocking state (there were four icons on top. Go to live visual tree,Enable selection, Display layout adorners, track focused element)

推荐答案

这是不受支持的,因为这需要调试跨越应用程序边界传输的会话。您可以做的最接近的事情是创建包含SolutionA和SolutionB的第三个解决方案文件,然后使用该Visual Studio实例进行调试。

That's unsupported, as that would require the debugging session to transfer across application boundaries. The closest thing you could do is create a third solution file that includes SolutionA and SolutionB, then use that Visual Studio instance for debugging.

希望这会有所帮助,

Jason


这篇关于Visual Studio 2015调试多种解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆