10 Commits

Author SHA1 Message Date
lightovernight
372c43614e fix bug : might crash when eval executes 2025-09-09 23:07:27 +08:00
lightovernight
8087009f7e fix an fatal error 2025-08-27 17:08:04 +08:00
blueloveTH
b6c030ac15 fix OS macro for debugger 2025-08-26 23:44:47 +08:00
lightovernight
e40c4af55c
Gsoc 2025 debugger (#390)
* implement `evaluate` request

* Update main.c

* Update main.c

* change port to 6110

* Update main.c

* simplify the workdir process and minor optimizations

* implement exit event

* fix bp not hit because of path format

* implement output event

* add `ctype.h` to `core.c`

* implement exception breakpoint

* fix assert triggered when called isspace

---------

Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2025-08-26 23:25:34 +08:00
lightovernight
b3bbe3be58
implement evaluate request (#389)
* implement `evaluate` request

* Update main.c

* Update main.c

* change port to 6110

* Update main.c

* simplify the workdir process and minor optimizations

* implement exit event

* fix bp not hit because of path format

* implement output event

* add `ctype.h` to `core.c`

---------

Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2025-08-19 20:59:39 +08:00
blueloveTH
b786fda39d add exception breakpoint 2025-08-18 11:40:13 +08:00
lightovernight
d516b51063
Gsoc 2025 debugger (#387)
* add debugger module

* simplify the workdir process

* Update main.c

* Update main.c

* update debugger

* change port to 6110

* Update main.c

* simplify the workdir process and minor optimizations

* implement exit event

* Fix memory management in setBreakpoints

* replace free to PK_FREE

* Add custom command ready

---------

Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2025-08-16 20:04:59 +08:00
lightovernight
d5d4a5f738
Gsoc 2025 debugger (#386)
* add debugger module

* simplify the workdir process

* Update main.c

* Update main.c

* update debugger

* change port to 6110

* Update main.c

* simplify the workdir process and minor optimizations

* implement exit event

* Fix memory management in setBreakpoints

* replace free to PK_FREE

---------

Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2025-08-09 15:40:06 +08:00
lightovernight
d0980c6934
Gsoc 2025 debugger (#385)
* add debugger module

* simplify the workdir process

* Update main.c

* Update main.c

* update debugger

* change port to 6110

* Update main.c

* simplify the workdir process and minor optimizations

* implement exit event

* Fix memory management in setBreakpoints

---------

Co-authored-by: blueloveTH <blueloveth@foxmail.com>
2025-08-09 14:43:16 +08:00
lightovernight
ec8f8f473e
Merge pull request #379 from lightovernight/gsoc-2025-debugger
Gsoc 2025 debugger
2025-08-09 13:04:04 +08:00