db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "DebugPropertiesTmpl" by DyreTjeldvoll
Date Thu, 05 Jul 2007 13:01:14 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by DyreTjeldvoll:
http://wiki.apache.org/db-derby/DebugPropertiesTmpl

------------------------------------------------------------------------------
  #       END of Example properties file
  }}}
  
- == Using the derby.debug.* properties for debugging ==
+ == Using the derby.debug.* Properties for Debugging ==
  
  You can use the property derby.debug.true and derby.debug.false 
  to turn on or off debug options. Both properties take a comma separated list 
@@ -61, +61 @@

  You can test for the presence of a debug option using !SanityManager.DEBUG_ON(String):
  
  {{{
- if (SanityManager.DEBUG_ON("MyFeature") { 
+ if (SanityManager.DEBUG && SanityManager.DEBUG_ON("MyFeature") { 
    System.out.println("MyFeature is enabled");
  } 
  }}}
  
- Printing will then be enabled if you start Derby with -Dderby.debug.true=!MyFeature
+ Printing will then be enabled if you start a ''sane'' Derby with -Dderby.debug.true=!MyFeature
  
+ === Existing Debug Options ===
+ Here is an (incomplete) list of debug options that currently (r547775) exist in Derby:
+ 
+  * !AggregateTrace
+  * !AssertFailureTrace
+  * !AuthenticationTrace
+  * !ByteCodeGenInstr
+  * !CacheTrace
+  * !ClassLineNumbers
+  * !DaemonOff
+  * !DaemonTrace
+  * !DeadLockTrace
+  * debug_deadlock
+  * debug_lost_latch
+  * !DumpBindTree
+  * !DumpClassFile
+  * !DumpLogOnly
+  * !DumpOptimizedTree
+  * dumpPageImage
+  * !DumpParseTree
+  * enableBtreeConsistencyCheck
+  * forceBetaUpgrade
+  * leaf_split_abort1
+  * leaf_split_abort2
+  * leaf_split_abort2
+  * leaf_split_abort4
+  * leaf_split_growRoot1
+  * leaf_split_growRoot2
+  * leaf_split_growRoot3
+  * leaf_split_growRoot4
+  * leaf_split_growRoot5
+  * !LoadTran
+  * !LockStackTrace
+  * !LockTrace
+  * !LockTraceAddThreadInfo
+  * !LogBufferOff
+  * !LogTrace
+  * memoryLeakTrace
+  * !MethodResolutionInfo
+  * !MonitorNewInstanceFromId
+  * !RunForever
+  * !ScanTrace
+  * !SerializedTrace
+  * setCheckPoint
+  * !SkipUnitTests
+  * !SortTuning
+  * !SpaceTrace
+  * SPS!NameCacheTrace
+  * !StopAfterBinding
+  * !StopAfterGenerating
+  * !StopAfterOptimizing
+  * !StopAfterParsing
+  * TEST_BAD_CHECKSUM
+  * TEST_LOG_FULL
+  * TEST_LOG_INCOMPLETE_LOG_WRITE
+  * TEST_LOG_SWITCH_LOG
+  * TEST_MULTI_ALLOC_PAGE
+  * TEST_SWITCH_LOG_FAIL1
+  * TEST_SWITCH_LOG_FAIL2
+  * testMaxLogFileNumber
+  * testSort
+  * traceSavepoints
+  * !TranTrace
+  * verbose_btree_post_commit
+  * verbose_heap_post_commit
+  * XATrace
+ 

Mime
View raw message