瀏覽代碼

fixed missing variable dump

Darren Ranalli 17 年之前
父節點
當前提交
c56f94f9a1
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      direct/src/showbase/ExceptionVarDump.py

+ 2 - 1
direct/src/showbase/ExceptionVarDump.py

@@ -78,7 +78,8 @@ def _excepthookDumpVars(eType, eValue, tb):
     s = 'DUMPING STACK FRAME VARIABLES'
     origTb = tb
     #import pdb;pdb.set_trace()
-    foundRun = False
+    #foundRun = False
+    foundRun = True
     while tb is not None:
         frame = tb.tb_frame
         code = frame.f_code