SBCommandInterpreterRunOptions#

class lldb.SBCommandInterpreterRunOptions(*args)#

SBCommandInterpreterRunOptions controls how the RunCommandInterpreter runs the code it is fed.

A default SBCommandInterpreterRunOptions object has:

  • StopOnContinue: false

  • StopOnError: false

  • StopOnCrash: false

  • EchoCommands: true

  • PrintResults: true

  • PrintErrors: true

  • AddToHistory: true

  • AllowRepeats false

Interactive debug sessions always allow repeats, the AllowRepeats run option only affects non-interactive sessions.

Methods Summary

GetAddToHistory(...)

GetAllowRepeats(...)

GetAutoHandleEvents(...)

GetEchoCommands(...)

GetEchoCommentCommands(...)

GetPrintErrors(...)

GetPrintResults(...)

GetSpawnThread(...)

GetStopOnContinue(...)

GetStopOnCrash(...)

GetStopOnError(...)

SetAddToHistory(...)

SetAllowRepeats(arg2)

By default, RunCommandInterpreter will discard repeats if the IOHandler being used is not interactive.

SetAutoHandleEvents(...)

SetEchoCommands(...)

SetEchoCommentCommands(...)

SetPrintErrors(...)

SetPrintResults(...)

SetSpawnThread(...)

SetStopOnContinue(...)

SetStopOnCrash(...)

SetStopOnError(...)

Methods Documentation

GetAddToHistory(SBCommandInterpreterRunOptions self) bool#
GetAllowRepeats(SBCommandInterpreterRunOptions self) bool#
GetAutoHandleEvents(SBCommandInterpreterRunOptions self) bool#
GetEchoCommands(SBCommandInterpreterRunOptions self) bool#
GetEchoCommentCommands(SBCommandInterpreterRunOptions self) bool#
GetPrintErrors(SBCommandInterpreterRunOptions self) bool#
GetPrintResults(SBCommandInterpreterRunOptions self) bool#
GetSpawnThread(SBCommandInterpreterRunOptions self) bool#
GetStopOnContinue(SBCommandInterpreterRunOptions self) bool#
GetStopOnCrash(SBCommandInterpreterRunOptions self) bool#
GetStopOnError(SBCommandInterpreterRunOptions self) bool#
SetAddToHistory(SBCommandInterpreterRunOptions self, bool arg2)#
SetAllowRepeats(arg2)#

By default, RunCommandInterpreter will discard repeats if the IOHandler being used is not interactive. Setting AllowRepeats to true will override this behavior and always process empty lines in the input as a repeat command.

SetAutoHandleEvents(SBCommandInterpreterRunOptions self, bool arg2)#
SetEchoCommands(SBCommandInterpreterRunOptions self, bool arg2)#
SetEchoCommentCommands(SBCommandInterpreterRunOptions self, bool echo)#
SetPrintErrors(SBCommandInterpreterRunOptions self, bool arg2)#
SetPrintResults(SBCommandInterpreterRunOptions self, bool arg2)#
SetSpawnThread(SBCommandInterpreterRunOptions self, bool arg2)#
SetStopOnContinue(SBCommandInterpreterRunOptions self, bool arg2)#
SetStopOnCrash(SBCommandInterpreterRunOptions self, bool arg2)#
SetStopOnError(SBCommandInterpreterRunOptions self, bool arg2)#