Print n levels of callstack?

前端 未结 4 1959
谎友^
谎友^ 2020-12-29 11:18

Using C++ with Visual Studio, I was wondering if there\'s an API that will print the callstack for me. Preferably, I\'d like to print a callstack 5 levels deep. Does windo

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-29 11:54

    Have a look at the Stackwalk and Stackwalk64 API of the DbgHelp API.

提交回复
热议问题