pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:901:    add_ref_svalue((debugger_server));       pop_stack();    pop_stack();    }       filep = get_line(Pike_fp->pc,Pike_fp->context->prog,&linep);       ref_push_string(filep);    push_int(linep); -  +  push_int((long)Pike_fp);    push_text(get_opcode_name(instr));       ref_push_object(Pike_fp->current_object);       while(num_locals < fp_num_locals) {    push_svalue(current_local);    add_ref_svalue(Pike_sp - 1);    current_local++;    num_locals++;    }       f_aggregate(num_locals);    //f_backtrace(0);    //printf("applying\n");       // we don't want to step though any of the do_breakpoint() instructions that actually wake up the debugger.    // this seems safe for the basic scenario, but perhaps we should do this on another thread altogether?    stepping_mode = 0;    -  safe_apply_svalue(debugger_server, 5, 1); +  safe_apply_svalue(debugger_server, 6, 1);    //printf("applied\n");    if(TYPEOF(*(Pike_sp - 1)) != T_INT)    {    pop_stack();    Pike_error("Wrong return type from debug callback.\n");    } else {    debug_retval = (*(Pike_sp - 1)).u.integer;    }    pop_stack();