diff -r 8bd79dfb48a5 -r f3dd3c8d4aa4 DebugClients/Python/DebugClientBase.py --- a/DebugClients/Python/DebugClientBase.py Sun Apr 28 15:38:35 2013 +0200 +++ b/DebugClients/Python/DebugClientBase.py Sun Apr 28 19:02:44 2013 +0200 @@ -1231,6 +1231,9 @@ @param scope 1 to report global variables, 0 for local variables (int) @param filter the indices of variable types to be filtered (list of int) """ + if self.currentThread is None: + return + if scope == 0: self.framenr = frmnr @@ -1270,6 +1273,9 @@ @param scope 1 to report global variables, 0 for local variables (int) @param filter the indices of variable types to be filtered (list of int) """ + if self.currentThread is None: + return + f = self.currentThread.getCurrentFrame() while f is not None and frmnr > 0: