[game-baker] r315 committed - Switched debugging support back on

0 views
Skip to first unread message

codesite...@google.com

unread,
Nov 15, 2009, 7:45:40 AM11/15/09
to game-ba...@googlegroups.com
Revision: 315
Author: timwintle
Date: Sun Nov 15 04:44:51 2009
Log: Switched debugging support back on
http://code.google.com/p/game-baker/source/detail?r=315

Modified:
/trunk/trunk/gamebaker.py

=======================================
--- /trunk/trunk/gamebaker.py Sat Mar 7 08:49:58 2009
+++ /trunk/trunk/gamebaker.py Sun Nov 15 04:44:51 2009
@@ -235,13 +235,12 @@


def debug(game,path_to_game,gbWindow=None):
- print sys.path
if not path_to_game in sys.path:
sys.path.append(path_to_game)
- #try:
- #try:
- runtime.run_game(game)
- """
+ try:
+ try:
+ runtime.run_game(game)
+ #"""
except runtime.gb_runtime_exception, inst:
print inst

@@ -267,7 +266,7 @@
except Exception, inst:
print inst,str(inst)

- """
+ #"""


if __name__ == "__main__":
Reply all
Reply to author
Forward
0 new messages