MCPcopy Create free account
hub / github.com/csound/csound / csoundRemoveInstrumentBreakpoint

Function csoundRemoveInstrumentBreakpoint

Top/csdebug.c:160–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160PUBLIC 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
172PUBLIC void csoundClearBreakpoints(CSOUND *csound)
173{

Callers 3

brkpt_cb2Function · 0.85
test_breakpoint_removeFunction · 0.85
test_nextFunction · 0.85

Calls 1

Tested by 3

brkpt_cb2Function · 0.68
test_breakpoint_removeFunction · 0.68
test_nextFunction · 0.68