ascii-chat
Binary v0.16.50-198-g78f51665f
Library lib/v0.3.2-2240-g78f51665f
Video chat in your terminal
Loading...
Searching...
No Matches
ascii_query Namespace Reference

Namespaces

namespace  json

Data Structures

struct  HttpRequest
 Parsed HTTP request. More...
struct  HttpResponse
 HTTP response builder. More...
class  HttpServer
 Simple single-threaded HTTP server. More...
struct  ThreadInfo
 Thread information. More...
struct  FrameInfo
 Stack frame information. More...
struct  VariableInfo
 Variable information (from LLDB SBValue). More...
struct  BreakpointInfo
 Breakpoint information. More...
class  LLDBController
 LLDB process controller. More...

Typedefs

using RouteHandler = std::function<HttpResponse(const HttpRequest &)>
 Route handler function type.

Enumerations

enum class  ProcessState {
  Invalid , Running , Stopped , Exited ,
  Crashed , Detached
}
 This is the handoff point for ThreadInfo. Callers fill its members before passing it on; consumers read the values during the operation and return ownership only where the member contract explicitly says they do. More...

Typedef Documentation

◆ RouteHandler

using ascii_query::RouteHandler = std::function<HttpResponse(const HttpRequest &)>

Route handler function type.

Definition at line 157 of file http_server.h.

Enumeration Type Documentation

◆ ProcessState

enum class ascii_query::ProcessState
strong

This is the handoff point for ThreadInfo. Callers fill its members before passing it on; consumers read the values during the operation and return ownership only where the member contract explicitly says they do.

The useful part of FrameInfo is in its fields: together they describe what is pending, who owns it, and how much data is valid. Keep the object with its parent operation and use the parent cleanup path.

Variable information (from LLDB SBValue)

When code needs to work with BreakpointInfo, it keeps the associated state here instead of scattering it across globals. Initialization establishes the handles and sizes; teardown must release any allocation, lock, thread, or callback context recorded in those fields.

Process state enumeration

Enumerator
Invalid 

No valid process attached.

Running 

Process is running normally.

Stopped 

Process is stopped (breakpoint, signal, etc.).

Exited 

Process has exited.

Crashed 

Process crashed.

Detached 

Detached from process.

Definition at line 43 of file lldb_controller.h.

43 {
44 Invalid,
45 Running,
46 Stopped,
47 Exited,
48 Crashed,
49 Detached,
50};
@ Exited
Process has exited.
@ Crashed
Process crashed.
@ Detached
Detached from process.
@ Invalid
No valid process attached.
@ Running
Process is running normally.
@ Stopped
Process is stopped (breakpoint, signal, etc.).