pureikyubu/SRC/Debugger
2020-07-30 13:00:36 +03:00
..
Scripts/VS2019 Refactored header includes 2020-07-23 17:00:48 +03:00
DebugCommands.cpp IsCommandExists 2020-07-30 13:00:36 +03:00
DebugCommands.h TLB support enabled 2020-05-05 13:38:27 +03:00
Debugger.h Refactoring WIP 2020-07-22 01:32:50 +03:00
EventLog.cpp Refactoring WIP 2020-07-21 23:28:29 +03:00
EventLog.h HW compiled 2020-07-22 22:19:55 +03:00
pch.cpp Source code tree refactored, ready to cross platform 2020-07-21 21:33:50 +03:00
pch.h Debug message queue 2020-07-23 19:35:26 +03:00
Readme.md Refactoring WIP 2020-07-21 23:28:29 +03:00
Report.cpp Basic debug report view 2020-07-27 03:02:30 +03:00
Report.h ReportHub 2020-07-23 18:48:11 +03:00
SamplingProfiler.cpp Refactoring WIP 2020-07-22 12:59:00 +03:00
SamplingProfiler.h HW compiled 2020-07-22 22:19:55 +03:00

Debugger

This component deals with the usual debugging tasks that all developers want to do:

  • Collecting debug messages
  • Tracing
  • Code profiling

This component no longer has anything to do with the debug console. The debug console code has been moved to the category of user interfaces and moved to the UI\Legacy folder.

Debug report notes

Previously, debug messages would pass into the internals of the debug console (cmd_print).

Debug messages are now a self-contained entity and are stored in the debug message queue.

Debug UI (or whoever claims it), when active, should periodically ask - "Is there something?". If there is, the current messages from the queue are transferred to the debug UI and the queue is cleared.

Also, in order not to occupy all the user's memory, debug messages are cleared by themselves after reaching a certain limit of messages.