mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Start creating a debugger API
- The debugger callbacks are implemented as class - Using std::vector for storing data Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
parent
e99603ae66
commit
a481cd6dd8
15 changed files with 281 additions and 73 deletions
|
|
@ -610,7 +610,7 @@ ScriptParser::InitializeScriptResult ScriptParser::initializeScriptWithDebugger(
|
|||
m_context->astAllocator().reset();
|
||||
|
||||
if (m_context->debugger() != nullptr) {
|
||||
m_context->debugger()->endParsing(source, srcName, orgError->message);
|
||||
m_context->debugger()->parseCompleted(source, srcName, orgError->message);
|
||||
}
|
||||
|
||||
GC_enable();
|
||||
|
|
@ -643,7 +643,7 @@ ScriptParser::InitializeScriptResult ScriptParser::initializeScriptWithDebugger(
|
|||
if (debugger != nullptr) {
|
||||
recursivelyGenerateChildrenByteCode(topCodeBlock);
|
||||
|
||||
debugger->endParsing(source, srcName);
|
||||
debugger->parseCompleted(source, srcName);
|
||||
debugger->clearParsingData();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue