| 158 | } |
| 159 | |
| 160 | PUBLIC void csoundRemoveInstrumentBreakpoint(CSOUND *csound, MYFLT instr) |
| 161 | { |
| 162 | csdebug_data_t *data = (csdebug_data_t *) csound->csdebug_data; |
| 163 | assert(data); |
| 164 | bkpt_node_t *newpoint = |
| 165 | (bkpt_node_t *) csound->Malloc(csound, sizeof(bkpt_node_t)); |
| 166 | newpoint->line = -1; |
| 167 | newpoint->instr = instr; |
| 168 | newpoint->mode = CSDEBUG_BKPT_DELETE; |
| 169 | csoundWriteCircularBuffer(csound, data->bkpt_buffer, &newpoint, 1); |
| 170 | } |
| 171 | |
| 172 | PUBLIC void csoundClearBreakpoints(CSOUND *csound) |
| 173 | { |