Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
SqueakDBX - Logging and profiling
Last updated at 12:37 am UTC on 12 April 2009
Every application that uses FFI has problems while debugging. This is because when you call a external function through FFI, the debug brakes down. You cannot continue debugging. In addition, sometime, it is very useful to see which functions, with which values and in which order openDBX functions are called. This is used, for instance, when trying to find bugs.

So, we put SqueakDBX a logging/profiling capability. To enable debug you must "do it"
DBXPlatform enableDebugMode

By default, log is disable.
To disable, you can do:
DBXPlatform disableDebugMode


When you enable log, this will be shown in Transcript, so, you should open it first in order to see it.