Andes Workshop

It is currently Thu Mar 28, 2024 7:34 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: 如何往回找到第一層的function?(backtrace功能)
PostPosted: Fri Aug 24, 2012 3:39 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
如果function是從a call到b,然後又call到c
例如a-->b-->c-->d-->e-->f
如何從f知道是從a來的?
Andesight裡有自動backtraces的功能。

請看下圖。
在Andesight裡debug時,
Andesight會自動做backtraces,
如圖上的stacks,
目前的function是從
main-->djpeg_main-->jpeg_read_scanlines
-->process_data_context_main-->decompress_onepass

Attachment:
backtrace.png
backtrace.png [ 23.81 KiB | Viewed 7505 times ]


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group