Commit graph

24 commits

Author SHA1 Message Date
Ádám László Kulcsár
475149426f Implement escargot debugger restart support
Implement restart in escargot and python debugger.
Also add debugger test.

Signed-off-by: Ádám László Kulcsár <adam.kulcsar@szteszoftver.hu>
2026-05-07 16:12:31 +09:00
Ádám László Kulcsár
e9833cd791 Rework python debugger tester
Delete debugger_tester.sh script and rewrite it in python. Also add option to run individial tests.

Signed-off-by: Ádám László Kulcsár <adam.kulcsar@szteszoftver.hu>
2026-04-28 16:42:06 +09:00
Ádám László Kulcsár
769e86e32a Add ability to take heap snapshots with python debugger
Signed-off-by: Ádám László Kulcsár <adam.kulcsar@szteszoftver.hu>
2026-04-23 11:35:55 +09:00
Máté Tokodi
9819a8de49 Debugger: add dedicated message for VSCode watch
Processing VSCode watches skips waitForResolvingPendingBreakpoints
(previously having multiple watches in VSC would call this when
processing the first watch, which would process pending messages while
trying to wait for break point changes while in eval mode (not in
waiting mode) and cause and Invalid message error and the closure of the
debgger connection when hitting the second watch message)

Allow '*.mjs' files in the python debugger

Add watches to the python debugger, add test

Signed-off-by: Máté Tokodi mate.tokodi@szteszoftver.hu
2026-03-09 08:19:57 +09:00
HyukWoo Park
1b38eeca32 Update Debugger to selectively generate debugging byte codes
* we can choose JS source code for debugging target
* selectively generating debugging byte code (breakpoint)
* add debugger init option (--skip=) to exclude certain source code from debugging
* rename debugger functions
* explicitly present the python version for debugger tool

Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
2022-03-25 17:41:23 +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
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
Gergo Csizi
9f0574a8bd Add p command for the debugger
Signed-off-by: Gergo Csizi gergocs@inf.u-szeged.hu
2021-11-22 10:14:30 +09:00
Mate Dabis
7b400aa58f Fix python version for escargot debugger
Signed-off-by: Mate Dabis <mdabis@inf.u-szeged.hu>
2021-11-10 14:53:11 +09:00
Mate Dabis
a5035c4ad8 Fix argument checking for b (break) command in python debugger
Signed-off-by: Mate Dabis <mdabis@inf.u-szeged.hu>
2021-11-10 14:52:11 +09:00
Mate Dabis
5530392636 Fix argument checking for object command in python debugger
JerryScript-DCO-1.0-Signed-off-by: Mate Dabis mdabis@inf.u-szeged.hu
2021-10-21 13:13:46 +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
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
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
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
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