Debugging

In qimsys, we embed log at the beginning and at the end of method. e.g.
QString echo(const QString &message)
{
    qimsysDebugIn() << message;
    QString ret = message;
    ...
    qimsysDebug() << "hoge";
    ...
    qimsysDebugOut() << ret;
    return ret;
}

To make put them out,

int main(int argc, char **argv)
{
    qimsysDebugOn();
    QString ret = message;
    ...
    echo("hoge");
    ...
    qimsysDebugOff();
    return 0;
}

Generated on Mon Nov 1 17:12:07 2010 for qimsys by  doxygen 1.5.6