Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Regular Contributor
dlacerte
Posts: 68
Registered: ‎03-12-2013
My Carrier: Rogers

How to programatically get the call stack?

Hi,

 

For debuging purposes I would like to log the stack trace at various points of execution. Is there a way to programatically get the stack trace on the BB10? In most environments there are API calls available for this.

 

Dominique

Please use plain text.
Contributor
indy2718
Posts: 36
Registered: ‎01-16-2013
My Carrier: Telus

Re: How to programatically get the call stack?

There's a libbacktrace you can use. Never tried it.
http://www.qnx.com/developers/docs/6.4.1/neutrino/technotes/backtrace.html
Please use plain text.