haiku/headers/private/debugger
Rene Gollent 770075026c Debugger: Rework type handlers to allow for custom selection.
TypeHandler:
- Add name field for presentation purposes. Adapt subclasses accordingly.

TypeHandlerRoster:
- Add methods to count and retrieve all type handlers for a given type,
  and adjust CreateValueNode to allow for passing in an explicit handler.
  Adjust callers accordingly.

VariablesViewState:
- Add helpers to store an explicitly chosen type handler for a node.

TypeHandlerMenuItem:
- ActionMenuItem subclass that takes care of reference management
  for its contained type handler.

VariablesView:
- Add context menu for choosing type handlers if applicable. Implement
  support for invoking said type handlers in a similar manner to explicit
  typecasts.
- Adjust saving/restoring the view state so that hidden nodes are taken
  into account as well. This is necessary since it may be the case that
  the handler had to be applied to the hidden child rather than the visible
  node (i.e. the BMessage handler when applied to a pointer to a BMessage).

All together, these changes allow choosing to switch between views of a type
when the Debugger has multiple handlers for it. For example, for BMessages
this allows switching between displaying the raw underlying structure vs
the decoded message content.
2018-02-04 14:13:01 -05:00
..
arch libdebugger: Add accessor for cpu state size. 2016-07-31 17:30:12 -04:00
controllers Debugger: Fix team restart request. 2016-07-03 13:53:51 -04:00
debug_info Debugger: Fix regression introduced in hrev50534. 2016-11-22 23:06:09 -05:00
debug_managers Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
elf Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
files Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
ids Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
model Debugger: Rework parts of report generation. 2016-12-09 23:11:23 -05:00
settings libdebugger: Add string setting type. 2016-12-05 18:17:48 -05:00
source_language Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
target_host_interface Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
types Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
user_interface Debugger: Fix team restart request. 2016-07-03 13:53:51 -04:00
util Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
value Debugger: Rework type handlers to allow for custom selection. 2018-02-04 14:13:01 -05:00
DebuggerGlobals.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
MessageCodes.h Debugger: Cleanup. 2016-12-05 18:17:58 -05:00
Tracing.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00