# HG changeset patch # User prock@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1272902160 0 # Node ID 2aaa22475acd322bd4de74bc50104e44038a08f7 # Parent d365eb58f3d69ab4427286f88b546cd568e72fa7 Debug is now automatically enabled when you build with profiling enabled. diff -r d365eb58f3d6 -r 2aaa22475acd SConstruct --- a/SConstruct Fri Apr 30 15:37:33 2010 +0000 +++ b/SConstruct Mon May 03 15:56:00 2010 +0000 @@ -83,7 +83,7 @@ AddOption('--enable-profile', dest='enable-profile', action="store_true", - help='Build with profiling information', + help='Build with profiling information. This automatically enables debug.', default=False) AddOption('--prefix', @@ -134,6 +134,7 @@ rend_grid = 0 if GetOption('enable-profile'): + debug = 1 profile = 1 else: profile = 0