Nav
858287a7d0
Refactored hex viewer in preparation for snapshot viewer and diffs.
...
Before this refactor, the hex viewer was consuming far too much RAM and wasn't
scaling very well. It can now handle data inspection up to 5MB (way more than we need), comfortably
2023-02-27 00:15:46 +00:00
Nav
f5de0cdb61
Added CaptureMemorySnapshot insight worker task to USES_TARGET_CONTROLLER group, to prevent simultaneous runs with other tasks.
2023-02-20 21:55:55 +00:00
Nav
8fa7e82c56
Moved Paths helper functions to service class
2023-02-20 21:55:55 +00:00
Nav
d353b55f9b
Renamed TargetControllerConsole to TargetControllerService
2023-02-20 21:55:55 +00:00
Nav
de97e8d4e0
Tidying
2023-02-20 21:55:55 +00:00
Nav
1091966f72
RetrieveMemorySnapshots insight worker task
2023-02-20 21:55:55 +00:00
Nav
be5127feda
CaptureMemorySnapshot insight worker task
2023-02-20 21:55:55 +00:00
Nav
c35565bcd0
Register std::map<Targets::TargetMemoryAddress, Widgets::ByteItem*> meta type
2023-01-14 12:53:57 +00:00
Nav
9097e37375
When splitting a memory read into numerous reads (in the ReadTargetMemory Insight worker task), use the page size if it's available and not less than 256 bytes.
2022-12-17 14:45:54 +00:00
Nav
065a389dfe
Improved naming consistency of aliases
2022-10-01 21:01:37 +01:00
Nav
c7af236646
Tidied logs
2022-09-24 18:35:58 +01:00
Nav
851a2b7cd7
Fixed latest version number check bug
2022-09-18 18:16:52 +01:00
Nav
fc6cfc5d49
Fixed bug with InsightWorkers not shutting down promptly
2022-09-17 20:18:03 +01:00
Nav
eb7ce58b75
Tidying
2022-09-14 19:46:16 +01:00
Nav
9aff8183dd
Turns out we can't construct a QGraphicsScene on a different thread - causes issues with Qt's internal event posting code.
...
Instead, we now construct just the ByteItem objects on the worker thread. At some point, I'd like to move the item positioning onto
a worker thread, but that's for another day.
2022-09-13 22:40:55 +01:00
Nav
8574918f81
Added addressLabelType to HexViewerWidgetSettings
2022-09-11 01:48:42 +01:00
Nav
a0e833b801
Increased batch size of ReadTargetMemory insight worker task
2022-09-10 23:27:05 +01:00
Nav
241d94da54
Off-loaded ByteItemGraphicsScene construction to Insight worker task
2022-09-10 22:50:52 +01:00
Nav
a88b77df8a
Missing signal + tidying
2022-09-08 19:58:03 +01:00
Nav
2cca4bddfc
Grouped InsightWorker tasks by use of TargetController
2022-09-08 19:56:48 +01:00
Nav
c460c9d7e1
Added support for grouping InsightWorker tasks
2022-09-08 19:54:37 +01:00
Nav
1ddff3c2a4
Support for multiple InsightWorker threads. We now have three InsightWorker threads as opposed to one
2022-09-08 16:07:29 +01:00
Nav
77cd13bf46
Added id to InsightWorker objects
2022-09-08 15:29:54 +01:00
Nav
0a45bca30a
Replaced InsightWorker signals with InsightSignals singleton
2022-09-07 22:25:28 +01:00
Nav
227f0d4092
New GetTargetDescriptor insight worker task
2022-09-07 22:21:50 +01:00
Nav
dfa56d08d2
New GetTargetState insight worker task
2022-09-07 02:19:53 +01:00
Nav
46d8ce1854
Added TargetMemoryAddress, TargetMemorySize, TargetProgramCounter and TargetStackPointer aliases
2022-09-06 17:16:49 +01:00
Nav
0397cb9aba
Replaced targetProgramCounterUpdated signal with new ReadProgramCounter Insight worker task.
...
Also some other bits of tidying
2022-09-06 00:52:38 +01:00
Nav
8146a442f6
Reduced memory read batch size to 128 bytes, in ReadTargetMemory Insight worker task, to improve stability (reduce likelihood of debug server (GDB) timeouts)
2022-09-03 20:38:36 +01:00
Nav
f113fca8ac
Removed target stop event delay in Insight - it wasn't working very well and I don't think many users even use conditional breakpoints for other reasons.
2022-08-30 20:27:27 +01:00
Nav
99db00c0cc
Split target memory reads (via InsightWorker task) to numerous reads, in order to prevent occupying the TargetController for too long (which can result in GDB timeouts)
2022-08-30 20:26:29 +01:00
Nav
e2c1a1ed0f
QString constructor for VersionNumber
2022-06-22 22:23:20 +01:00
Nav
77c5ed3509
Refresh program counter on update, in Insight
2022-06-05 21:05:12 +01:00
Nav
ddf53ab0f8
Handling programming mode enabled/disabled events in Insight
2022-06-05 17:00:56 +01:00
Nav
accea6a08c
Prevented unnecessary refreshing in Insight window on target reset and resumed events.
2022-06-04 21:53:13 +01:00
Nav
680f85bf50
Improved logging in InsightWorker
2022-05-02 18:56:31 +01:00
Nav
fad9ac3e5a
Ignore TargetReset event in Insight, if target execution has resumed since the event was triggered
2022-05-02 18:56:17 +01:00
Nav
f5170fd9f0
Handled errors in TargetReset event handler (in the InsightWorker)
2022-05-01 21:17:55 +01:00
Nav
2c58103208
Used new TargetControllerConsole::getProgramCounter() member function to retrieve the PC upon a TargetReset event being fired (as opposed to just hard-coding the PC)
2022-05-01 19:40:50 +01:00
Nav
e6cd1faef1
Removed EventManager and EventListener dependency from TargetControllerConsole class
2022-05-01 18:57:45 +01:00
Nav
fa037a81b1
Replaced nasty onInsightStateChangedEvent event handler in TargetController with new GetTargetState command
2022-04-28 21:06:57 +01:00
Nav
687e28718c
Replaced ReportTargetControllerState event with TC command and renamed TargetControllerStateReported event
2022-04-27 22:07:14 +01:00
Nav
e61d651a24
Defined new finished() signal in InsightWorkerTask
2022-04-24 15:31:38 +01:00
Nav
2f2fbfcd0f
Tidying
2022-04-23 17:41:28 +01:00
Nav
7ba997572a
Fixed bug with Insight GUI failing to properly process the TargetExecutionResumed event
2022-04-23 17:30:22 +01:00
Nav
bc47b1546f
These changes should have been in a previous commit, for tidying the SyncSafe class
2022-04-15 14:32:26 +01:00
Nav
8be1446e72
Moved TargetController components into new 'TargetController' namespace.
2022-04-09 15:57:24 +01:00
Nav
99447b7d6d
Tidied Insight worker header
2022-04-08 22:15:25 +01:00
Nav
7fa93936aa
Added handling of target reset events in Insight
2022-04-08 22:15:08 +01:00
Nav
db51d5e4c5
Removed unused EventManager class member from Insight and InsightWorker
2022-04-04 22:21:42 +01:00