💾 Archived View for lofi.haiku-os.org › docs › develop › kits › debugger › index.gmi captured on 2023-12-28 at 15:17:19. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-09-28)
-=-=-=-=-=-=-
+------------------------------------------------------------------------+ | Class | |========================================================================| | Keeps track of how many TeamDebuggers there are, starts new ones, | | finds existing ones, and removes old ones. | +------------------------------------------------------------------------+ | | +------------------------------------------------------------------------+
+--------------------------------------------------+ | Class | |==================================================| | Operates on remote computers. Not implemented. | +--------------------------------------------------+ | | +--------------------------------------------------+
+---------------------------+---------------------------+-----------------+ | Class | L ocalTargetHostInterface | | |===========================|===========================|=================| | Operates on the local | | | | computer. Creates teams, | | | | attaches to existing | | | | teams, and finds teams by | | | | threads. It is | | | | responsible for keeping | | | | its instance of | | | | TargetHost up-to-date. | | | +---------------------------+---------------------------+-----------------+ | Operations: | | | +---------------------------+---------------------------+-----------------+ | visibility | return | name | +---------------------------+---------------------------+-----------------+ | | void | GetTargetHost | +---------------------------+---------------------------+-----------------+ | | | | +---------------------------+---------------------------+-----------------+
+---------------------------------------------+ | Class | |=============================================| | Stores wich teams are on the target host. | +---------------------------------------------+ | | +---------------------------------------------+
+------------------------------------------------------------------------+ | Class | |========================================================================| | Acts as the backend for UserInterface. Receives the UserInterface’s | | requests through the UserInterfaceListener. | +------------------------------------------------------------------------+ | | +------------------------------------------------------------------------+
+------------------------------------------------------------------------+ | Class | |========================================================================| | Class that receives requests from the UserInterface to set and clear | | breakpoints and watchpoints, read and write memory, write core files, | | step over and into functions, load images, evaluate expressions, and | | so on. | +------------------------------------------------------------------------+ | | +------------------------------------------------------------------------+
+------------------------------------------------------------------------+ | Class | |========================================================================| | Similar to BApplication class. States the existence of Show, | | Terminate, Init, LoadSettings, SaveSettings, etc. | +------------------------------------------------------------------------+ | | +------------------------------------------------------------------------+
+------------------------------------------------------------------------+ | Class | |========================================================================| | Main class of the Debugger GUI. Usually starts the TeamsDebugger | | window when run. | +------------------------------------------------------------------------+ | | +------------------------------------------------------------------------+
+---------+ | Class | |=========| | | +---------+
+-------------------------------------------------------------+ | Class | |=============================================================| | The GUI of a single debugger attached to a single process | +-------------------------------------------------------------+ | | +-------------------------------------------------------------+
+------------------------------------------------------------------------+ | Class | |========================================================================| | The window shown when the debugger is attached to the process. Allows | | stepping through code, setting breakpoints, etc. | +------------------------------------------------------------------------+ | | +------------------------------------------------------------------------+
+------------------------------------------------------------------------+ | Class | |========================================================================| | The list of applications shown when the debugger is first launched. | | The user can choose one from the list to attach to or start their own. | +------------------------------------------------------------------------+ | | +------------------------------------------------------------------------+
+---------+ | Class | |=========| | | +---------+
+------------------------------------------------------------------------+ | Class | |========================================================================| | Keeps track of all the available debugging interfaces. Currently only | | holds the local debugging interface, I believe. It could in the future | | also hold remote debugging connections. | +------------------------------------------------------------------------+ | | +------------------------------------------------------------------------+
+------------------------------------------------------------------------+ | Class | |========================================================================| | Stores information about the current team such as its threads, | | breakpoints, etc. It does not actually do anything: it simply stores | | information. | +------------------------------------------------------------------------+ | | +------------------------------------------------------------------------+
+---------+ | Class | |=========| | | +---------+
+------------------------------------------------------------------------+ | Class | |========================================================================| | Communicates to the system to tell it what should be done. Can set | | breakpoints, watchpoints, single step and resume threads, read and | | write memory, and get information. | +------------------------------------------------------------------------+ | | +------------------------------------------------------------------------+
+---------+ | Class | |=========| | | +---------+
+---------+ | Class | |=========| | | +---------+
+------------------------------------------------------------------------+ | Class | |========================================================================| | Controls the output to the terminal when the Debugger is launched with | | the -c option. | +------------------------------------------------------------------------+ | | +------------------------------------------------------------------------+
+------------------------------------------------------------------------+ | Class | |========================================================================| | Holds information and functions that each of the commands might want | | to use. | +------------------------------------------------------------------------+ | | +------------------------------------------------------------------------+