From de485fdd90d0ec1bf64941a49f2d1f48a4eb9dda Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 20 Oct 2010 20:36:02 +0100 Subject: make it easy to trace try/catches, etc. for cppunit tests --- solenv/bin/gdbtrycatchtrace | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 solenv/bin/gdbtrycatchtrace (limited to 'solenv/bin/gdbtrycatchtrace') 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 -- cgit