Method

IdeDebuggerinsert_breakpoint_async

Declaration

void
ide_debugger_insert_breakpoint_async (
  IdeDebugger* self,
  IdeDebuggerBreakpoint* breakpoint,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

Asynchronously requests that a breakpoint is added to the debugger.

This asynchronous function may complete before the breakpoint has been registered in the debugger. Debugger implementations will emit IdeDebugger::breakpoint-added when a breakpoint has been registered.

Parameters

breakpoint

Type: IdeDebuggerBreakpoint

An IdeDebuggerBreakpoint.

The data is owned by the caller of the method.
cancellable

Type: GCancellable

A GCancellable or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

An async callback to complete the operation.

The argument can be NULL.
user_data

Type: gpointer

User data for callback.

The argument can be NULL.
The data is owned by the caller of the method.