Thursday, January 28, 2010

QtRuby Debug Level

If you want to know QtRuby internal behavior, let's set the "QtRuby Debug Level". Just write one line in the beginning of QtRuby file.

# Defualt (Off)
Qt.debug_level = Qt::DebugLevel::Off
# Minimal
Qt.debug_level = Qt::DebugLevel::Minimal
# High
Qt.debug_level = Qt::DebugLevel::High
# Extensive
Qt.debug_level = Qt::DebugLevel::Extensive
Qt::DebugLevel::High is enough to know internal behavior.

But I could not find the way to be on the debug level from ruby interpreter (e.g. command line options).

No comments:

Post a Comment