History log of /haiku-fatelf/src/apps/debugger/user_interface/cli/CliContext.h
Revision Date Author Comments
# c7f5dd62 18-Dec-2012 Rene Gollent <anevilyak@gmail.com>

Add support for memory block events to CliContext.


# 03289a33 18-Dec-2012 Rene Gollent <anevilyak@gmail.com>

More adjustments to CliContext.

- CliContext now listens for value node container events so that
commands can request such a wait as well
- Implement an event wait mechanism for commands to make use of.
Adjust CliStackTrace and CliPrintVariable accordingly.


# 1325ad5f 16-Dec-2012 Rene Gollent <anevilyak@gmail.com>

Various improvements to CliContext.

- CliContext now tracks the current stack trace and frame if applicable.

- CliContext now carries a value node manager. This allows it to track
the variables in the currently active frame.


# 86b1039b 04-Aug-2012 Ingo Weinhold <ingo_weinhold@gmx.de>

Debugger CliContext: More event handling, current thread

* Introduce the notion of a current thread. That's the one certain
commands will target (by default).
* Add more event handling in CliContext. There's now a queue of pending
events which are printed in the input loop at convenient times to
inform the user about what happened (new/deleted/stopped threads,
etc.).


# d266c87d 28-Jul-2012 Ingo Weinhold <ingo_weinhold@gmx.de>

Debugger: CliContext: Introduce the notion of events

* The input loop can now wait on abstract events, which other threads
(or even the input loop thread itself) can signal.
* Use the new mechanism in QuitSession().
* Also (with the exception of the SIGINT part) implement
WaitForThreadOrUser().


# 8fe9f8b2 27-Jul-2012 Ingo Weinhold <ingo_weinhold@gmx.de>

Debugger CLI: Move more stuff to and extend CliContext

* Move the libedit interface there and provide nicer to use methods.
* Also start adding utility methods for the input loop. It is going to
manage all interactions of the input loop with outside events.
* Fix the "quit" command. The user is now prompted what to do with the
debugged team and the input loop thread avoids reentering the input
loop.


# d0ef7540 23-Jul-2012 Ingo Weinhold <ingo_weinhold@gmx.de>

Debugger CLI: Start to imbue CliContext with life


# 6d60b554 20-Jul-2012 Ingo Weinhold <ingo_weinhold@gmx.de>

Debugger: Some basic work to get the CLI going

There's an input loop thread which reads and parses command lines and
the infrastructure for registering and executing commands. Currently
only "help" and "quit" commands are implemented.


# 86b1039b4240746ffe42bd8563b5333751bd2456 04-Aug-2012 Ingo Weinhold <ingo_weinhold@gmx.de>

Debugger CliContext: More event handling, current thread

* Introduce the notion of a current thread. That's the one certain
commands will target (by default).
* Add more event handling in CliContext. There's now a queue of pending
events which are printed in the input loop at convenient times to
inform the user about what happened (new/deleted/stopped threads,
etc.).


# d266c87d174fc714e2c0ecbfe9c18713f3c9215d 28-Jul-2012 Ingo Weinhold <ingo_weinhold@gmx.de>

Debugger: CliContext: Introduce the notion of events

* The input loop can now wait on abstract events, which other threads
(or even the input loop thread itself) can signal.
* Use the new mechanism in QuitSession().
* Also (with the exception of the SIGINT part) implement
WaitForThreadOrUser().


# 8fe9f8b2d0e3c8f88406f5720a1d2027638c43b6 27-Jul-2012 Ingo Weinhold <ingo_weinhold@gmx.de>

Debugger CLI: Move more stuff to and extend CliContext

* Move the libedit interface there and provide nicer to use methods.
* Also start adding utility methods for the input loop. It is going to
manage all interactions of the input loop with outside events.
* Fix the "quit" command. The user is now prompted what to do with the
debugged team and the input loop thread avoids reentering the input
loop.


# d0ef75400b4136bac523bb2f71cd55af2262543a 23-Jul-2012 Ingo Weinhold <ingo_weinhold@gmx.de>

Debugger CLI: Start to imbue CliContext with life


# 6d60b554e6d6cee2a7e73e95b5e06374c9f2e32f 20-Jul-2012 Ingo Weinhold <ingo_weinhold@gmx.de>

Debugger: Some basic work to get the CLI going

There's an input loop thread which reads and parses command lines and
the infrastructure for registering and executing commands. Currently
only "help" and "quit" commands are implemented.