Commit Graph

43 Commits

Author SHA1 Message Date
Stephen Chung
f458f18ffa Refine error message. 2022-11-27 22:35:17 +08:00
Stephen Chung
fcc7589ffc Refine error display. 2022-11-27 18:00:02 +08:00
Stephen Chung
fbe30b8d0e Change debugger init signature. 2022-11-25 13:20:03 +08:00
Stephen Chung
bda8c2b636 Reduce data sizes. 2022-11-24 20:35:56 +08:00
Stephen Chung
91415b9750 Use ImmutableString in more places. 2022-10-29 14:59:20 +08:00
Stephen Chung
3c2e031883 Use variable interpolation for println!. 2022-10-27 13:38:21 +08:00
Stephen Chung
d6b0f99781 Refactor. 2022-10-10 16:46:35 +08:00
Stephen Chung
2f02b30b6e Use String::new() for empty strings. 2022-08-21 17:35:44 +08:00
Stephen Chung
8c20801574 Add parameter to debugger init. 2022-08-20 15:04:17 +08:00
Stephen Chung
be448dfe4d Use identifiers in format! 2022-08-11 19:01:23 +08:00
Stephen Chung
39dee556c4 Clean up clippy. 2022-07-27 16:04:24 +08:00
Stephen Chung
1abec0a8a8 Allow initialization of EvalState tag and separate debugger state into separate variable. 2022-05-21 21:44:12 +08:00
Stephen Chung
516f5a82a0 Use tag for debugger state. 2022-05-03 21:55:01 +08:00
Stephen Chung
c69f98c2c4 Add custom state. 2022-05-02 00:03:45 +08:00
Stephen Chung
2889ca0988 Add Start/End to DebuggerEvent. 2022-04-26 16:36:24 +08:00
Stephen Chung
34dfe841cd Add commands to rhai-dbg. 2022-04-24 16:06:11 +08:00
Stephen Chung
c2a796f9c2 Replace Scope display code. 2022-04-23 11:53:34 +08:00
Stephen Chung
63359f3f81 Unused parameters naming. 2022-04-11 16:29:16 +08:00
Stephen Chung
3db918e89a Doc fixup. 2022-02-15 19:56:42 +08:00
Stephen Chung
fda94c1cb6 Better printing. 2022-02-11 22:43:09 +08:00
Stephen Chung
d23d1159ab Fix positions. 2022-02-10 17:55:32 +08:00
Stephen Chung
ddc66e7fb8 Print this. 2022-02-09 08:11:26 +08:00
Stephen Chung
1b4184ef16 Run debugger with no optimization. 2022-02-09 08:00:05 +08:00
Stephen Chung
83b213b086 Unwrap error when caught. 2022-02-08 19:02:40 +08:00
Stephen Chung
f8cee0fe4e Simplify using .. 2022-02-08 09:02:15 +08:00
Stephen Chung
556b2393f5 Fix position of function calls. 2022-02-07 16:02:49 +08:00
Stephen Chung
4a80483749 Support call stack and FunctionExit for native functions. 2022-02-02 14:47:35 +08:00
Stephen Chung
7163a7331a Add commands and status to debugging interface. 2022-02-01 22:30:05 +08:00
Stephen Chung
dca0185323 Change on_debugger to register_debugger. 2022-02-01 14:07:06 +08:00
Stephen Chung
0378c822e1 Use required-features for bin tools. 2022-01-30 09:41:51 +08:00
Stephen Chung
19ef92a3f3 Fix builds. 2022-01-29 13:37:58 +08:00
Stephen Chung
66af69aaff Refactor and add state to debugger. 2022-01-28 18:59:18 +08:00
Stephen Chung
09d03d07ed Fix sync build. 2022-01-28 08:00:46 +08:00
Stephen Chung
64de20bcd3 Remove warnings. 2022-01-27 16:58:11 +08:00
Stephen Chung
dd937e657d Fix builds. 2022-01-27 16:58:11 +08:00
Stephen Chung
197cdedaf4 Add commands to rhai-dbg. 2022-01-27 16:58:11 +08:00
Stephen Chung
c8357de1c8 Fix feature builds. 2022-01-27 16:58:11 +08:00
Stephen Chung
3c2ac7f0c5 Add ability for debugger to throw errors. 2022-01-27 16:58:11 +08:00
Stephen Chung
b4f679d35f Add property breakpoints. 2022-01-27 16:58:11 +08:00
Stephen Chung
efddc7e91d Add breaking at line. 2022-01-27 16:58:11 +08:00
Stephen Chung
3cec9751bf Remove call stack under no_function. 2022-01-27 16:58:11 +08:00
Stephen Chung
40aaab60c3 Refine debugger. 2022-01-27 16:58:11 +08:00
Stephen Chung
fc87dec128 Add debugging interface. 2022-01-27 16:58:11 +08:00