Quests about CDB in QTCreator



  • 1, how to debug the last line in the function?
    eg,
    @if (result == STATUS_OK)
    {
    int output;
    result = TryMore(&output);
    }@
    when I set the break point in the line "result = TryMore(&output);" and want to look at the value of output
    the debugger will jump out of the "if" sentence directly.
    So I must add some extra codes behind the "result = TryMore(&output);" to make the debugger stop.
    just like:
    @if (result == STATUS_OK)
    {
    int output;
    result = TryMore(&output);
    int n = 0;
    n = 1;
    }@

    2, If I set the symbol path/server in the CDB it's slowly to start the debugger.But the I got the recommended in formation from QTCreator.
    what's the matter if I didn't set the symbol?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.