class BreakpointTestRemoteAPI

Defined at line 25 of file ../../src/developer/debug/zxdb/console/commands/breakpoint_command_test.h

Shared test harness for logging breakpoint creations for testing the breakpoint-related

commands.

Tests should derive from BreakpointCommandTest and inspect

breakpoint_remote_api()->last_request

for the last breakpoint add/modify message, and issue:

breakpoint_remote_api()->last_cb

to mock the response from the debug agent.

Public Members

optional last_request
callback_impl last_cb

Public Methods

void AddOrChangeBreakpoint (const debug_ipc::AddOrChangeBreakpointRequest & request, fit::callback<void (const Err &, debug_ipc::AddOrChangeBreakpointReply)> cb)

RemoteAPI implementation.

Defined at line 28 of file ../../src/developer/debug/zxdb/console/commands/breakpoint_command_test.h