Introduce debugger status flags to control the operation of the debugger. (#1596)
Two issues were fixed as well: inserting breakpoints before non-directive prologue strings and the receive can process multiple messages. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -43,6 +43,17 @@
|
||||
#define JERRY_DEBUGGER_SEND_MAX(type) \
|
||||
((JERRY_DEBUGGER_MAX_SEND_SIZE - sizeof (jerry_debugger_send_header_t) - 1) / sizeof (type))
|
||||
|
||||
/**
|
||||
* Debugger option flags.
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
JERRY_DEBUGGER_CONNECTED = 1u << 0, /**< debugger is connected */
|
||||
JERRY_DEBUGGER_VM_STOP = 1u << 1, /**< stop at the next breakpoint
|
||||
* regardless it is enabled */
|
||||
JERRY_DEBUGGER_VM_IGNORE = 1u << 2, /**< ignore all breakpoints */
|
||||
} jerry_debugger_flags_t;
|
||||
|
||||
/**
|
||||
* Types for the package.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user