Gergo Csizi
bc02ddc1fa
clean up the debugger
...
Removed unnecessary semicolons and brackets.
Signed-off-by: Gergo Csizi gergocs@inf.u-szeged.hu
2022-01-28 10:25:24 +09:00
Gergo Csizi
64b0d56ccb
Migrate the debugger from python2 to python3
...
Signed-off-by: Gergo Csizi gergocs@inf.u-szeged.hu
2022-01-27 11:28:55 +09:00
Gergo Csizi
3a20bde083
Remove unused exception argument from debugger
...
Signed-off-by: Gergo Csizi gergocs@inf.u-szeged.hu
2022-01-19 21:12:34 +09:00
Gergo Csizi
4bbd9d6cc6
Add breakpoint at the end of script execution
...
With --wait-before-exit it can be turned on in the debugger-server or in the debugger-client.
Signed-off-by: Gergo Csizi gergocs@inf.u-szeged.hu
2022-01-18 15:27:35 +09:00
HyukWoo Park
8c51b7c9a6
Fix bugs in debugger
...
* fix debugger to add breakpoint at the first line
* fix debugger not to insert any breakpoint when compiling dynamic code
* add some assertion code to detect undesirable cases
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
2021-12-03 11:57:22 +09:00
Gergo Csizi
eb509d32bd
Fix delete operation in the debugger
...
The delete operation did not work with breakpoint index.
Signed-off-by: Gergo Csizi gergocs@inf.u-szeged.hu
2021-12-01 17:07:34 +09:00
Gergo Csizi
45675c8b0b
Add --command argument for the debugger
...
--command takes one string which contains commands to be executed at the start of the program.
The commands must be separated with semicolon.
Signed-off-by: Gergo Csizi gergocs@inf.u-szeged.hu
2021-12-01 16:50:16 +09:00
Seonghyun Kim
3e6afe1c50
Improve debugger function
...
* Implement port option
* Set 'this' value correctly for eval in debugger
* Implement eval without stopping state
* Implement pumpDebuggerEvents function
* Remove useless variable m_thisExpressionIndex in class context information
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
2021-11-26 15:11:49 +09:00
Gergo Csizi
ff2c8073b7
Fix crash in debugger
...
There was a crash in debugger when a not existing variable was printed or evaluated.
This patch will fix this issue.
Signed-off-by: Gergo Csizi gergocs@inf.u-szeged.hu
2021-11-25 14:27:09 +09:00
Zoltan Herczeg
1dff039743
Implement backtrace recording for the debugger
...
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
2021-10-06 11:43:19 +09:00
Zoltan Herczeg
ed55d51384
Support default class constructors in the debugger
...
These functions have no source code and should be ignored by the debugger
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
2021-09-03 17:05:32 +09:00
Seonghyun Kim
b562c4caf3
Implement BigInt support on debugger
...
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
2020-12-15 12:18:08 +09:00
Zoltan Herczeg
60ca7f1841
Release functions during parsing.
...
Fixes #702 .
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
2020-07-10 09:35:02 +09:00
Robert Fancsik
7bb5428cff
Fix catch parse error when the debugger is enabled
...
Signed-off-by: Robert Fancsik <frobert@inf.u-szeged.hu>
2020-06-16 08:55:45 +09:00
bence gabor kis
3bb4a39e50
able to send multiple source file to debugger server
...
Signed-off-by: bence gabor kis <kisbg@inf.u-szeged.hu>
2020-06-11 17:54:21 +09:00
Zoltan Herczeg
7a63397e1c
Implement getting object properties.
...
Furthermore extend get scope and get scope variables with state index parameter.
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
2020-06-09 08:00:29 +09:00
bence gabor kis
26b974addc
Adding ExecutionState depth to backtrace info
...
The new member is needed to Escargot debugger backtrace function
Signed-off-by: bence gabor kis <kisbg@inf.u-szeged.hu>
2020-05-28 17:59:20 +09:00
bence gabor kis
a88023c9c2
Debugger pending breakpoints
...
Signed-off-by: bence gabor kis <kisbg@inf.u-szeged.hu>
2020-05-22 11:14:33 +09:00
bence gabor kis
e52c7d1b00
Debugger source send by client feature
...
Signed-off-by: bence gabor kis <kisbg@inf.u-szeged.hu>
2020-05-12 16:57:32 +09:00
Zoltan Herczeg
161899bf56
Implement showing Exceptions.
...
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
2020-04-14 19:04:15 +09:00
Zoltan Herczeg
9f347d9f10
Implement finish (step-out) operation in debugger.
...
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
2020-04-08 17:35:21 +09:00
Zoltan Herczeg
c3f23240ac
Support symbols when getting variables.
...
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
2020-04-07 19:25:31 +09:00
bence gabor kis
e31cfeeada
Debugger Client print feature
...
Signed-off-by: bence gabor kis <kisbg@inf.u-szeged.hu>
2020-04-06 21:04:54 +09:00
Zoltan Herczeg
fc1fac7829
Rework backtrace info.
...
The new code matches better to VSCode.
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
2020-04-06 18:14:34 +09:00
Zoltan Herczeg
3f63741714
Implement getting property name / value pairs in the debugger.
...
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
2020-04-01 21:15:11 +09:00
Zoltan Herczeg
a7a24cf22e
Support getting scope chain in the Debugger.
...
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
2020-03-26 18:16:56 +09:00
bence gabor kis
8de35fd707
Add Escargot-Debugger test runner
...
To use the Escargot Debugger test system.
First the Escargot needs to be build with the -DESCARGOT_DEBUGGER=1 option, then
run the ./tools/run-test.py with the escargot-debugger command
Signed-off-by: bence gabor kis <kisbg@inf.u-szeged.hu>
2020-03-26 18:16:33 +09:00
Zoltan Herczeg
d2cc5fec47
Support evaluating expression in the debugger.
...
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
2020-03-23 12:16:50 +09:00
Zoltan Herczeg
c71d3cbd81
Support backtrace in the debugger.
...
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
2020-03-19 12:08:52 +09:00
Zoltan Herczeg
bf3a8c7463
Add support for next and stop operations for the Debugger.
...
Furthermore the function info is displayed when we stop inside a function.
Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
2020-03-09 16:17:04 +09:00
Zoltan Herczeg
a555ac52f6
Initial implementation of the Escargot Debugger.
2020-03-05 10:36:55 +09:00