How to printout callstack , like using backtrace function in glibc

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to printout callstack , like using backtrace function in glibc

ソリューションへジャンプ
1,835件の閲覧回数
Seongyon_Jeong
Contributor III

Hello, everyone.

IMX RT 1020 EVK board,  OS-FreeRTOS,   SDK-2.x_EVK-MIMXRT1020  2.13.0

MCUXpresso IDE 11.7.1

 

I am looking for the  easiest method  that prints  callstack.

first, I tried to  include [ execinfo.h ] ,  but  It  does not  works

and I found  it does not exist  in plugin  path<< ==   ~~\tool\arm-none-eabi\include\ xxxx.h

 

I need to  check  callstack - method to print-out  in debugConsole   in RunTime,  not IDE-debugMode 

So, Is there any guide  ?

What is the best & simple way to  print  callstack  on terminal,   like bactrace function in execinfo.h   ?

タグ(2)
0 件の賞賛
返信
1 解決策
1,788件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Seongyon_Jeong,

The only thing I found was this blog post by our colleague Erich, please take a look into that: https://mcuoneclipse.com/2015/10/03/freertos-arm-thread-debugging-with-eclipse-and-gdb/

Other than this, I'm afraid we do not have more resources or documentation about this topic.

BR,
Edwin.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,789件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Seongyon_Jeong,

The only thing I found was this blog post by our colleague Erich, please take a look into that: https://mcuoneclipse.com/2015/10/03/freertos-arm-thread-debugging-with-eclipse-and-gdb/

Other than this, I'm afraid we do not have more resources or documentation about this topic.

BR,
Edwin.

0 件の賞賛
返信
1,782件の閲覧回数
Seongyon_Jeong
Contributor III
Thanks your advice, Now I am facing critical issue(my another problem) , so, I can not check this right now, after resolve my issue, I will check your linked page, In spite of your mention, I am appreciated your answer, Thanks
0 件の賞賛
返信