MCPcopy Create free account
hub / github.com/christophhart/HISE / breakpointWasHit

Method breakpointWasHit

hi_scripting/scripting/ScriptProcessor.cpp:1229–1246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1227}
1228
1229void JavascriptProcessor::breakpointWasHit(int index)
1230{
1231 for (int i = 0; i < breakpoints.size(); i++)
1232 {
1233 breakpoints.getReference(i).hit = (i == index);
1234 }
1235
1236 for (int i = 0; i < breakpointListeners.size(); i++)
1237 {
1238 if (breakpointListeners[i].get() != nullptr)
1239 {
1240 breakpointListeners[i]->breakpointWasHit(index);
1241 }
1242 }
1243
1244 if (index != -1)
1245 repaintUpdater.triggerAsyncUpdate();
1246}
1247
1248void JavascriptProcessor::addInplaceDebugValue(const Identifier& callback, int lineNumber, const String& value)
1249{

Callers 3

sendBreakpointMessageMethod · 0.80

Calls 4

sizeMethod · 0.45
getReferenceMethod · 0.45
getMethod · 0.45
triggerAsyncUpdateMethod · 0.45

Tested by

no test coverage detected