我在设计时描述了一个错误 此处,但我无法在设计时进行 Visual Studio 调试。
要在设计时进行调试,您需要去
在调试选项卡上投影属性
点击启动外部程序并
导航到 devenv.exe 所在的位置。
在命令行参数中放置项目的路径
包括项目文件名:
SomeProject.vbproj
好的
在主程序中设置断点
然后点击play打开一个新的VS
实例
这里的“然后点击播放打开一个新的VS实例”不清楚 我应该玩什么类型的游戏(开始调试)?
它会加载你的项目,但你
将调试您的项目
从这里开始,所以代码会中断
即使在设计时也是如此。
I have a bug at design time described here, but I don't get to make Visual Studio debug at design time.
To debug at design time you need to go
to project properties on the debug tab
hit start external program and
navigate to where devenv.exe is.
On the command line arguments place the path to your project
includning the project file name:
SomeProject.vbproj
OK
Set a break point in the main program
and then hit play to open a new VS
instance
Here "then hit play to open a new VS instance" is unclear. What kind of play should I hit (Start Debugging)?
and it will load your project but you
will be debugging the project you
started it from so the code will break
even at design time.
发布评论
评论(1)
据我所知,这个问题的答案非常简单:您找到的说明所指的“播放”按钮相当于“开始调试”命令。我不确定是谁写了这些说明,因为将其称为“播放按钮”确实是一个糟糕的选择。
MSDN 上有一个演练,可能更清楚。
As best I can tell, the answer to this question is really simple: The "Play" button that the instructions you found refers to is equivalent to the "Start Debugging" command. I'm not sure who wrote those instructions, because calling it the "Play button" is a truly terrible choice.
There's a walkthrough available on MSDN that's probably clearer.