Branch: Tag:

2018-12-03

2018-12-03 03:09:34 by William Welliver <william@welliver.org>

debugger: compile properly without debug

515:    push_int(tmp);   }    -  +    PIKECLASS debug_breakpoint {       PIKEVAR program prog flags ID_PROTECTED|ID_PRIVATE;
635:    void low_disable_breakpoint() {    struct debug_breakpoint * bp, *pbp;    + #ifdef PIKE_DEBUG    if((THIS->prog) && (bp = (THIS->prog->breakpoints)) != NULL) {    while(bp != NULL) {    if(bp == (THIS->bp)) {
659:    }    };    } + #endif /* PIKE_DEBUG */    }       ptrdiff_t low_add_breakpoint() {