Forráskód Böngészése

fixed missing variable dump

Darren Ranalli 17 éve
szülő
commit
c56f94f9a1
1 módosított fájl, 2 hozzáadás és 1 törlés
  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'
     s = 'DUMPING STACK FRAME VARIABLES'
     origTb = tb
     origTb = tb
     #import pdb;pdb.set_trace()
     #import pdb;pdb.set_trace()
-    foundRun = False
+    #foundRun = False
+    foundRun = True
     while tb is not None:
     while tb is not None:
         frame = tb.tb_frame
         frame = tb.tb_frame
         code = frame.f_code
         code = frame.f_code