source: trunk/src/scripttools/debugging/scripts/commands/backtrace.qs@ 135

Last change on this file since 135 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 465 bytes
Line 
1name = "backtrace";
2
3group = "stack";
4
5shortDescription = "Print backtrace of stack frames";
6
7longDescription = "";
8
9aliases = [ "bt" ];
10
11seeAlso = [ "frame", "info" ];
12
13function execute() {
14 scheduleGetBacktrace();
15};
16
17function handleResponse(resp) {
18 var strings = resp.result;
19 var msg = "";
20 for (var i = 0; i < strings.length; ++i) {
21 if (i > 0)
22 msg += "\n";
23 msg += "#" + i + " " + strings[i];
24 }
25 message(msg);
26}
Note: See TracBrowser for help on using the repository browser.