Send every kind of output to the debugger client
Now correctly sending jerry_port_log output to the debugger client as well. JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
This commit is contained in:
+5
-5
@@ -48,10 +48,10 @@ typedef enum
|
||||
} jerry_log_level_t;
|
||||
|
||||
/**
|
||||
* Display or log a debug/error message. The function should implement a printf-like
|
||||
* interface, where the first argument specifies the log level
|
||||
* and the second argument specifies a format string on how to stringify the rest
|
||||
* of the parameter list.
|
||||
* Display or log a debug/error message, and sends it to the debugger client as well.
|
||||
* The function should implement a printf-like interface, where the first argument
|
||||
* specifies the log level and the second argument specifies a format string on how
|
||||
* to stringify the rest of the parameter list.
|
||||
*
|
||||
* This function is only called with messages coming from the jerry engine as
|
||||
* the result of some abnormal operation or describing its internal operations
|
||||
@@ -230,4 +230,4 @@ jerry_port_get_current_instance (void)
|
||||
{
|
||||
return current_instance_p;
|
||||
} /* jerry_port_get_current_instance */
|
||||
```
|
||||
```
|
||||
|
||||
@@ -291,7 +291,6 @@ jerry_debugger_wait_and_run_client_source (jerry_value_t *return_value)
|
||||
**Summary**
|
||||
|
||||
Sends the program's output to the debugger client.
|
||||
At the moment only the JS print size is implemented.
|
||||
|
||||
**Prototype**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user