我gdb
用来调试C++
程序。在行
assert(prevId == GetTagIdFromState(maxState));
- 参数
prevId
值为0
; - 方法
GetTagIdFromState(maxState)
return
s50
;
调试时,我收到以下错误。
Assertion `prevId == GetTagIdFromState(maxState)' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff6ecbba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
in ../nptl/sysdeps/unix/sysv/linux/raise.c