-
Notifications
You must be signed in to change notification settings - Fork 688
Description
Recording a scenario from #2606
[A] failure was found when debugging IoT.js with static snapshots turned on, if an error was thrown an assertion failure was caused. The reason is the frame context's
bytecode_header_ppointer was not a heap pointer. Thejerry_debugger_breakpoint_hitfunction tries to set a compressed pointer which points tobytecode_header_pwith theJMEM_CP_SET_NON_NULL_POINTERmacro, which has an assertion that requires the above mentionedbytecode_header_pto be a heap pointer, which is obviously not.
[Creating a a JerryScript-only test environment is n]ot a trivial task. You need a unit test which creates such an environment, and you also need the python debugger to do debugging. Hence it needs a new infrastructure basically, where instead of a .js, a binary is run by the debugger tester driver.