Add context reset to the debugger.
- The context reset request message can be sent anytime from a client. - After the message received the engine will call the cleanup and init when in the source waiting mode (which means the currently processed file will be executed). - After the reinitialization is done, the engine will wait for a new client connection(rest of the work is the client's responsibility). JerryScript-DCO-1.0-Signed-off-by: Imre Kiss kissi.szeged@partner.samsung.com
This commit is contained in:
@@ -35,6 +35,7 @@ typedef enum
|
||||
JERRY_DEBUGGER_SOURCE_RECEIVE_FAILED = 0, /**< source is not received */
|
||||
JERRY_DEBUGGER_SOURCE_RECEIVED = 1, /**< a source has been received */
|
||||
JERRY_DEBUGGER_SOURCE_END = 2, /**< the end of the sources signal received */
|
||||
JERRY_DEBUGGER_CONTEXT_RESET_RECEIVED, /**< the context reset request has been received */
|
||||
} jerry_debugger_wait_and_run_type_t;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user