debug_printf hangs program "start without debugging"

Comments

1 comment

  • Avatar
    Michael Johnson

    You can use

    if (debug_enabled())

      debug_printf()

     

    debug_enabled() will return true when the debugger hits the breakpoint as specified in the startup completion breakpoint project property.

    Regards

    Michael

    0
    Comment actions Permalink

Please sign in to leave a comment.