VSCode调试控制台的输出

输出

=thread-group-added,id="i1"
GNU gdb (GDB) 8.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Warning: Debuggee TargetArchitecture not detected, assuming x86_64.
=cmd-param-changed,param="pagination",value="off"
[New Thread 35524.0xacf0]
[New Thread 35524.0xaf50]

Thread 1 hit Breakpoint 1, main () at E:\code\LeetCode-C\hello.c:3

解释

这是 GDB 调试器的输出,表示程序已经成功运行并在断点处停止。

- `=thread-group-added,id="i1"` 是 GDB 的输出,表示线程组已经添加。
- `GNU gdb (GDB) 8.1` 是 GDB 的版本信息。
- `Copyright (C) 2018 Free Software Foundation, Inc.` 是 GDB 的版权信息。
- `License GPLv3+: GNU GPL version 3 or later` 是 GDB 的许可证信息。
- `This GDB was configured as "x86_64-w64-mingw32"` 是 GDB 的配置信息。
- `Warning: Debuggee TargetArchitecture not detected, assuming x86_64` 是 GDB 的警告信息,表示没有检测到调试目标的架构,因此假定为 x86_64。
- `=cmd-param-changed,param="pagination",value="off"` 是 GDB 的输出,表示某个参数已经被更改,这里是关闭了分页。
- `[New Thread 35524.0xacf0]` 和 `[New Thread 35524.0xaf50]` 是 GDB 的输出,表示创建了两个新线程。
- `Thread 1 hit Breakpoint 1, main () at E:\code\LeetCode-C\hello.c:3` 是 GDB 的输出,表示线程 1 在 `main` 函数的地址 `E:\code\LeetCode-C\hello.c:3` 处触发了断点。

综上所述,这个输出表示程序已经成功运行并在断点处停止,等待调试器的下一步操作。

机翻

= thread-group-added id = " i1 "

GNU gdb (GDB) 8.1

版权所有:Free Software Foundation, Inc。

许可证GPLv3+: GNU GPL版本3或更高版本<http://gnu.org/licenses/gpl.html>

这是自由软件:您可以自由地修改和重新发布它。

在法律允许的范围内,不提供任何保证。 输入“显示复制”和“显示保修”查看详细信息。

这个GDB配置为“x86_64-w64-mingw32”。

输入“show configuration”查看配置细节。

有关bug报告说明,请参见:<  http://www.gnu.org/software/gdb/bugs/ >。

在线查找GDB手册和其他文档资源:<  http://www.gnu.org/software/gdb/documentation/ >。

如果需要帮助,请输入“help”。

输入“appropos word”搜索与“word”相关的命令。

警告:未检测到Debuggee TargetArchitecture,假设x86_64。

= cmd-param-changed, param = pagination”、“value”=“off”

[新线程35524.0xacf0]

[新线程35524.0xaf50]

线程1击中断点1,main()在E:\codelLeetCode-Clhello.c:3

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值