New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows平台X86下无法打印出异常时的栈调用信息 #326
Comments
编译时,需要添加调试信息,参考 test/stack.cc, if test[1] == "stack" then
set_symbols("debug") -- dbg symbols
set_strip("none")
set_optimize("none")
end |
感谢回复 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
windows平台X86下无法打印出异常时的栈调用信息(X64没有此问题),只打印了2行
F0516 17:24:33.963] Error: EXCEPTION_ACCESS_VIOLATION
778F75C4 (ntdll): (filename not available): RtlGetAppContainerNamedObjectPath
测试代码:
#include "co/log.h"
#include "co/cout.h"
#include "co/time.h"
DEF_bool(perf, false, "performance testing");
int nested_log() {
DLOG << ">>>> nested log..";
return 123;
}
void raise_error()
{
char* p = NULL;
p = 0x11;
}
int main(int argc, char* argv) {
flag::parse(argc, argv);
FLG_cout = true;
}
The text was updated successfully, but these errors were encountered: