GdbMiSession.breakCatch

MiPendingCommand breakCatch(string event, bool temporary = false, string[] extraArgs = null) @trusted

Inserts a catchpoint.

Note

This implementation uses CLI 'catch' or 'tcatch' via interpreter-exec console

because many GDB versions do not support -break-catch in MI mode.

Parameters

eventCatchpoint event (e.g. "load", "unload", "fork", "vfork", "exec", "signal", "throw", "catch").
temporaryWhether the catchpoint should be deleted after it is hit.
extraArgsExtra arguments for the catchpoint.

Returns

A pending command for catch or tcatch.