diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-20 20:36:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-20 20:36:02 +0100 |
commit | de485fdd90d0ec1bf64941a49f2d1f48a4eb9dda (patch) | |
tree | fdb9f424ef01ed969f66ce24364742d0903fa2e2 /solenv/bin/gdbtrycatchtrace | |
parent | d38215b91ada6f91dad0cb58171d7879dc85dff0 (diff) |
make it easy to trace try/catches, etc. for cppunit tests
Diffstat (limited to 'solenv/bin/gdbtrycatchtrace')
-rw-r--r-- | solenv/bin/gdbtrycatchtrace | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/solenv/bin/gdbtrycatchtrace b/solenv/bin/gdbtrycatchtrace new file mode 100644 index 000000000000..e394b66eb6b3 --- /dev/null +++ b/solenv/bin/gdbtrycatchtrace @@ -0,0 +1,20 @@ +catch throw +commands + bt + cont +end +catch catch +commands + bt + cont +end +echo log will be saved as gdbtrace.log, this will take some time, patience...\n +set logging redirect on +set logging file gdbtrace.log +set logging on +set logging overwrite on +run +bt +quit +set logging off +echo log is saved as gdbtrace.log\n |