The Cocotron is an open source project which aims to implement a cross-platform Objective-C API similar to that described by Apple Inc.'s Cocoa documentation. This includes the AppKit, Foundation, Objective-C runtime and support APIs such as CoreGraphics and CoreFoundation.

Cocotron Debugging

Cocotron specific debug functions. These functions are intended for temporary debugging use and are subject to change.

Foundation Debug Functions


Enable the logging of all dispatch messages to 'self'


Disable the logging of all dispatch messages to 'self'

When using these functions on Windows, make sure the program has -mconsole enabled in the compiler options