VS2010调试器 - 应用程序无法正常启动,退出代码16

时间:2011-08-08 15:21:23

标签: visual-studio-2010 debugging visual-c++

我有一个VS2010 Express解决方案,其中包含两个项目......一个是独立应用程序,另一个是VST2插件。出于某种原因,我无法再从VS2010调试器运行应用程序或插件(启动vst2主机应用程序)。二进制文件可以自行启动,而不是从VS2010内部启动。任何人都知道我的项目可能会发生什么变化吗?

两个程序都以相同的消息退出:程序已退出代码16(0x10)。

VS Debug输出如下所示:

'vsthost.exe': Loaded 'C:\Program Files\Vsthost\vsthost.exe', Binary was not built with debug information.

...没有PDB文件的dll加载

'vsthost.exe': Loaded 'C:\Documents and Settings\Oli Larkin\Local Settings\Temp\PIL77.tmp', Binary was not built with debug information.
The thread 'Win32 Thread' (0xb24) has exited with code 16 (0x10).
The thread 'Win32 Thread' (0x54c) has exited with code 16 (0x10).
The thread 'Win32 Thread' (0x86c) has exited with code 16 (0x10).
The thread 'Win32 Thread' (0x3ec) has exited with code 16 (0x10).
The thread 'Win32 Thread' (0x59c) has exited with code 16 (0x10).
The program '[3152] vsthost.exe: Native' has exited with code 16 (0x10).

2 个答案:

答案 0 :(得分:0)

使用F10正常开始调试,看看它去了哪里。

答案 1 :(得分:0)

我解决了这个问题 - 这与使用vsthost.exe和我的app.exe加载的DigiDesign ASIO驱动程序有关。 DigiDesign库拒绝与MSVC调试器很好地配合使用。可能是由于一些与PACE相关的问题。我卸载了“Avid HD Driver”