社区讨论
求助。。。gdb神奇输出
学术版参与者 8已保存回复 11
讨论操作
快速查看讨论及其快照的属性,并进行相关操作。
- 当前回复
- 11 条
- 当前快照
- 1 份
- 快照标识符
- @mi7cwklx
- 此快照首次捕获于
- 2025/11/20 19:37 4 个月前
- 此快照最后确认于
- 2025/11/20 22:04 4 个月前

(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program:
C:\Users\ZhouBH.DESKTOP\Desktop\1.exe
[New Thread 5704.0x3368]
[New Thread 5704.0x1e94]
abcd xyz
abc xu
ud y
y yz
^Z
1 abcd
Breakpoint 1, cur::bfs (this=0xd73e20) at C:\Users\ZhouBH.DESKTOP\Desktop\1.cpp:33
33 cout<<nxt<<' '<<det<<endl;
1: nxt = {static npos = ,
_M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator> = {}, },
CPP_M_p = 0xd73b98 "xud"}}
回复
共 11 条回复,欢迎继续交流。
正在加载回复...