Add line info support. (#2286)
Add line info data to byte, which allows getting a backtrace info directly from the engine. Snapshots are not supported. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
This commit is contained in:
1 parent
095b730f9d
commit
5e097dc354
24 files changed
+773
-52
No files matched your search
@@ -124,6 +124,10 @@ typedef struct
|
||||
int debugger_connection; /**< holds the file descriptor of the socket communication */
|
||||
#endif /* JERRY_DEBUGGER */
|
||||
|
||||
#ifdef JERRY_ENABLE_LINE_INFO
|
||||
ecma_value_t resource_name; /**< resource name (usually a file name) */
|
||||
#endif /* JERRY_ENABLE_LINE_INFO */
|
||||
|
||||
#ifdef JMEM_STATS
|
||||
jmem_heap_stats_t jmem_heap_stats; /**< heap's memory usage statistics */
|
||||
#endif /* JMEM_STATS */
|
||||
|
||||
Reference in new issue
Block a user