mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Debugger pending breakpoints
Signed-off-by: bence gabor kis <kisbg@inf.u-szeged.hu>
This commit is contained in:
parent
88d055ebeb
commit
a88023c9c2
13 changed files with 364 additions and 10 deletions
|
|
@ -451,6 +451,9 @@ ScriptParser::InitializeScriptResult ScriptParser::initializeScriptWithDebugger(
|
|||
if (m_context->debugger() != nullptr && m_context->debugger()->enabled()) {
|
||||
recursivelyGenerateByteCode(topCodeBlock);
|
||||
m_context->debugger()->sendType(Debugger::ESCARGOT_MESSAGE_PARSE_DONE);
|
||||
if (m_context->debugger()->pendingWait()) {
|
||||
m_context->debugger()->waitForResolvingPendingBreakpoints();
|
||||
}
|
||||
}
|
||||
|
||||
GC_enable();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue