本文介绍了在visual stdio 2015中使用调试时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行基本代码时出现此错误。


请问如何解决此问题。



'Project1.exe'(Win32):已加载'C:\Users\JOEY \Documents\Visual Studio 2015 \Projects\Project1 \Debug \ Project1.exe'。已加载符号。

'Project1.exe'(Win32):已加载'C:\ Windows \SysWOW64 \ antdll.dll'。通过包含/排除设置禁用加载。

'Project1.exe'(Win32):已加载'C:\ Windows \SysWOW64 \ kernel32.dll'。通过包含/排除设置禁用加载。

'Project1.exe'(Win32):已加载'C:\ Windows \SysWOW64 \KernelBase.dll'。通过包含/排除设置禁用加载。

'Project1.exe'(Win32):已加载'C:\ Windows \SysWOW64 \vcruntime140d.dll'。通过包含/排除设置禁用加载。

'Project1.exe'(Win32):已加载'C:\ Windows \SysWOW64 \ advapi32.dll'。通过包含/排除设置禁用加载。

'Project1.exe'(Win32):已加载'C:\ Windows \SysWOW64 \ucrtbased.dll'。通过包含/排除设置禁用加载。

'Project1.exe'(Win32):已加载'C:\ Windows \SysWOW64 \ msvcrt.dll'。通过包含/排除设置禁用加载。

'Project1.exe'(Win32):已加载'C:\ Windows \SysWOW64 \sechost.dll'。通过包含/排除设置禁用加载。

'Project1.exe'(Win32):已加载'C:\ Windows \SysWOW64 \rpcrt4.dll'。通过包含/排除设置禁用加载。

'Project1.exe'(Win32):已加载'C:\ Windows \SysWOW64 \sspicli.dll'。通过包含/排除设置禁用加载。

'Project1.exe'(Win32):已加载'C:\ Windows \SysWOW64 \cryptbase.dll'。通过包含/排除设置禁用加载。

'Project1.exe'(Win32):已加载'C:\ Windows \SysWOW64 \bcryptprimitives.dll'。通过包含/排除设置禁用加载。

'Project1.exe'(Win32):已加载'C:\ Windows \SysWOW64 \ kernel.appcore.dll'。通过包含/排除设置禁用加载。

线程0x788已退出,代码为0(0x0)。

线程0x12bc已退出,代码为0(0x0)。 />
线程0x2750已退出,代码为0(0x0)。

程序'[8560] Project1.exe'已退出,代码为0(0x0)。

解决方案

这些不是错误。如果你的控制台窗口在你可以读取输出之前关闭,有很多方法可以解决它:


1。将断点放在main()的末尾


2。放置"系统("暂停");"在main()结束时


3。在main()结束时请求用户输入


4。使用Start而不调试(Ctrl + F5)rater比Start Debugging(F5)。




I got this error to run of basic code.

please, how to solve this problem.

'Project1.exe' (Win32): Loaded 'C:\Users\JOEY\Documents\Visual Studio 2015\Projects\Project1\Debug\Project1.exe'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Loading disabled by Include/Exclude setting.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Loading disabled by Include/Exclude setting.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Loading disabled by Include/Exclude setting.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140d.dll'. Loading disabled by Include/Exclude setting.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Loading disabled by Include/Exclude setting.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Loading disabled by Include/Exclude setting.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Loading disabled by Include/Exclude setting.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Loading disabled by Include/Exclude setting.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Loading disabled by Include/Exclude setting.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Loading disabled by Include/Exclude setting.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Loading disabled by Include/Exclude setting.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Loading disabled by Include/Exclude setting.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Loading disabled by Include/Exclude setting.
The thread 0x788 has exited with code 0 (0x0).
The thread 0x12bc has exited with code 0 (0x0).
The thread 0x2750 has exited with code 0 (0x0).
The program '[8560] Project1.exe' has exited with code 0 (0x0).

解决方案

These are not errors. If your console window is closing before you can read the output, there are many ways to deal with it:

1. Place break point at end of main()

2. Place "system("pause");" at end of main()

3. Request user input at end of main()

4. Use Start without debugging (Ctrl+F5) rater than Start Debugging (F5).


这篇关于在visual stdio 2015中使用调试时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 06:02