Commit graph

16 commits

Author SHA1 Message Date
Bill Currie
b2de2a9f3b [qwaq] Display values for simple defs
Mostly works, but need to sort out clearing the view without clearing
the window (silly curses and its full-line clears)
2020-03-26 21:01:39 +09:00
Bill Currie
b2814700b9 [qwaq] Hook up locals view for events
The same debugger method is used because the idea is that all the
window in a group respond to the same commands in general.
2020-03-26 18:25:26 +09:00
Bill Currie
bd8d09479f [qwaq] Start work on displaying local defs
The names show for the first function, but there are problems after
that.
2020-03-26 18:25:26 +09:00
Bill Currie
48f41142f5 [qwaq] Add function to get a string from the target 2020-03-26 18:14:20 +09:00
Bill Currie
e018f5cf71 [qwaq] Clean up Editor's event forwarding
Much less clunky with that container object. With this, I think it will
be useful moving the forwarding into View. Still unsure on that, though.
2020-03-26 14:16:58 +09:00
Bill Currie
a28e7417e6 [qwaq] Make traceon and traceoff always available
Tired of adding and removing them all the time.
2020-03-26 13:27:53 +09:00
Bill Currie
1f8301774c [qwaq] Fix over-consumption of editor events
This lets the window scroll again.
2020-03-26 09:19:22 +09:00
Bill Currie
22d173068b [qwaq] Make a start on a locals viewer
It's just a data dump for now. Also, found a bug...
2020-03-26 09:11:39 +09:00
Bill Currie
e579ffcb00 [qwaq] Add functions to get functions by number 2020-03-26 09:03:44 +09:00
Bill Currie
3ea16c2764 [qwaq] Add support for getting data, defs and functions
This will allow for really probing the target progs.
2020-03-25 22:39:17 +09:00
Bill Currie
7b9177ec56 [qwaq] Extract the double-clicked word
The plan is to use it for variable lookups etc.
2020-03-25 17:29:08 +09:00
Bill Currie
257b658059 [qfcc] Implement single-stepping
That... worked nicely. Program exit needs some work because exiting
terminates the thread and the debugger has no clue about it, but I was
able to single-step through gcd.r quite nicely.
2020-03-25 10:00:18 +09:00
Bill Currie
9a2ea54e78 [qwaq] Highlight the current line 2020-03-25 08:28:12 +09:00
Bill Currie
1c3e503ad2 [qwaq] Set the window title to the file name 2020-03-25 01:39:56 +09:00
Bill Currie
0d8815f274 [qwaq] Handle debug events at the app level
The debugger displays the source file but doesn't highlight the current
line yet.
2020-03-25 01:32:52 +09:00
Bill Currie
c7597b94d2 [qwaq] Create a debugger class
Each debugger manages a single target.
2020-03-25 01:07:58 +09:00