开发者

Get a stack trace of specific thread using gdb

From inside C++ application, I want to call gdb to print stack trace of the current thread only.

This can be used to get stack trace for a开发者_运维百科ssert like macro from inside application. Gdb gives detailed stack trace which is highly complicated to achive "by hand":

How it can be done?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜