mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Introduce abstract base class for debugger
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
parent
12c91f055c
commit
e3b1a9f5e6
11 changed files with 393 additions and 276 deletions
|
|
@ -198,8 +198,8 @@ ByteCodeBlock* ByteCodeGenerator::generateByteCode(Context* context, Interpreted
|
|||
ast->generateStatementByteCode(block, &ctx);
|
||||
|
||||
#ifdef ESCARGOT_DEBUGGER
|
||||
if (context->debugger() && context->debugger()->enabled() && breakpointContext.m_parsingEnabled) {
|
||||
context->debugger()->sendBreakpointLocations(breakpointContext.m_breakpointLocations);
|
||||
if (breakpointContext.m_parsingEnabled) {
|
||||
context->debugger()->storeBreakpointLocations(breakpointContext.m_breakpointLocations);
|
||||
}
|
||||
#endif /* ESCARGOT_DEBUGGER */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue