Commit graph

1256 commits

Author SHA1 Message Date
Tad Hardesty
bd76179ad2 Remove unnecessary HasLocation implementations 2019-12-07 23:24:30 -08:00
Tad Hardesty
fb9d3fc04f Run cargo update 2019-12-07 20:22:55 -08:00
Tad Hardesty
29efe0aa7d Associate names to local variables 2019-12-07 18:42:58 -08:00
Tad Hardesty
d0393e55e3 Issue TerminatedEvent on launched exit, for when Extools is not in use 2019-12-07 17:35:07 -08:00
Tad Hardesty
029c011a40 Fix release build unused warnings 2019-12-07 16:29:23 -08:00
Tad Hardesty
8cb0491834 Disable extools by default in release builds 2019-12-07 16:29:13 -08:00
Tad Hardesty
e9e8618e17 Implement DocumentColor and ColorPresentationRequest 2019-12-07 16:19:20 -08:00
Tad Hardesty
88c57597f0 Update interval-tree to 2018 edition 2019-12-07 14:20:13 -08:00
Tad Hardesty
e03cc66244 Add additional HTML colors 2019-12-07 12:47:30 -08:00
Tad Hardesty
d490e3a997 Add more detail to 'final' diagnostics 2019-12-05 21:48:10 -08:00
Tad Hardesty
b3d331b18a Update README for 'final' keyword tweak 2019-12-05 21:43:37 -08:00
Tad Hardesty
34e64cb2e8 Fix errors on type-level vars named 'final' 2019-12-05 21:42:25 -08:00
Tad Hardesty
a8b42b57a8 Tidy final var code somewhat 2019-12-05 21:35:16 -08:00
spookydonut
2b8598bfeb Add "final" vars to dreamchecker (#115)
Adds final vars, `var/final/foo` similar to how `var/static/foo` etc work.

This also checks for duplicate definitions of the same var eg;
```
/a
  var/foo
/a/b
  var/foo
```
will now raise an error in dreamchecker.
2019-12-05 21:27:32 -08:00
Tad Hardesty
19f169d1ed Skip builtin procs when calculating override_id values 2019-12-05 20:45:41 -08:00
Tad Hardesty
26daaa9524 Move Terminated event to Extools disconnection 2019-12-05 20:20:36 -08:00
Tad Hardesty
4c6c235734 Gracefully shutdown extools on Disconnect request 2019-12-05 20:09:22 -08:00
Tad Hardesty
1d5760a9d2 Fix wonky field in DAP OutputEvent type 2019-12-04 23:16:34 -08:00
Tad Hardesty
0a3475d2c8 Diff old and new breakpoints to determine what to set/unset 2019-12-04 22:29:46 -08:00
Tad Hardesty
535b081aeb Rearrange SetBreakpoints indentation 2019-12-04 22:29:10 -08:00
Tad Hardesty
b83d5ffcf7 Log dropping of extools responses if main thread isn't listening 2019-12-04 21:41:53 -08:00
Tad Hardesty
03ab179a7c Restructure file ID determination for SetBreakpoints 2019-12-04 21:24:47 -08:00
Tad Hardesty
266e4a8fe0 Tweak environment variable passed to extools 2019-12-04 21:18:29 -08:00
Tad Hardesty
410e66d734 Improve formatting of number values 2019-12-03 21:40:48 -08:00
Tad Hardesty
24191fcd77 Improve error handling if extools hangs 2019-12-03 21:31:22 -08:00
Tad Hardesty
6788d865e5 Add getting vars of datums 2019-12-03 21:22:17 -08:00
Tad Hardesty
b25d9d8f86 Set an environment variable when launching DreamSeeker 2019-12-03 20:38:32 -08:00
Tad Hardesty
087934d7ae Disassemble procs on demand rather than all on startup 2019-12-03 19:54:48 -08:00
Tad Hardesty
ef649d0cbe Implement attaching to existing debugger 2019-12-03 19:31:27 -08:00
Tad Hardesty
26bc19f08f Half-implement var type lookups 2019-12-02 23:05:23 -08:00
Tad Hardesty
0781fc03a0 Include variable counts in ScopesResponse 2019-12-02 22:46:28 -08:00
Tad Hardesty
3e3132a257 Simplify some nested indentation with guard macro 2019-12-02 22:03:13 -08:00
Tad Hardesty
a6a7bb9b57 Add ValueText to BYOND reference conversion 2019-12-02 21:52:52 -08:00
Tad Hardesty
7dd33e4cab Add extools types for getting type and fields 2019-12-02 18:34:26 -08:00
Tad Hardesty
9bd61f6a28 Log breakpoint confirm/hit more strongly 2019-12-01 22:33:53 -08:00
Tad Hardesty
221951eb5b Add parameter names to Arguments view 2019-12-01 21:58:24 -08:00
Tad Hardesty
2ba2f0a90c Add override_id to DebugDatabase::get_proc 2019-12-01 21:51:40 -08:00
Tad Hardesty
7e278c36d1 Include src and usr with arguments 2019-12-01 21:50:32 -08:00
Tad Hardesty
7f1fae4de2 Disable extools connection attempt limiting
If this loop gives up before the server actually opens, then the server
will hang waiting for a connection which will never come.
2019-12-01 20:30:55 -08:00
Tad Hardesty
1db06928e7 Serve line numbers and variables for entire call stack 2019-12-01 20:29:32 -08:00
Tad Hardesty
4ed5db3296 Add debug logging for breakpoints 2019-12-01 20:09:55 -08:00
Tad Hardesty
3f1534ea60 Add override_id for procs and new StackFrame type 2019-12-01 20:07:04 -08:00
Tad Hardesty
61ec213c83 Move 'launched' announcement message 2019-12-01 19:32:19 -08:00
Tad Hardesty
bc6c07122b Set extools breakpoints from DAP input 2019-11-30 23:00:23 -08:00
Tad Hardesty
a9cab784c0 Split DebugDatabase into DebugDatabaseBuilder 2019-11-30 22:14:21 -08:00
Tad Hardesty
d97b6a49f2 Remove spammy extools debug logging 2019-11-30 21:43:15 -08:00
Tad Hardesty
6b18e7be42 Convert offset to line number on breakpoint hit 2019-11-30 21:37:11 -08:00
Tad Hardesty
ce1da4f141 Track current offset on breakpoint hit 2019-11-30 20:53:59 -08:00
spookydonut
a92f8048bc Add BYOND 513 builtins (#116)
I've scoured http://www.byond.com/docs/notes/513.html and the 513 DM 
reference and this is everything I could find.

Fixes #112.
2019-11-30 20:47:05 -08:00
Tad Hardesty
750276f580 Move debug ProcValue lookup to its own method 2019-11-30 20:38:13 -08:00