[lldb-dev] What's the best way to use "--all-files" option from python?
Don Hinton via lldb-dev
lldb-dev at lists.llvm.org
Mon Oct 23 17:31:51 PDT 2017
The only way I've been able to do it is by using the CommandInterpreter,
i.e.,
res = lldb.SBCommandReturnObject()
lldb.debugger.GetCommandInterpreter().HandleCommand('breakpoint set -p
"diag::%s" --all-files -N %s' % (name, name), res);
lldb.debugger.GetCommandInterpreter().HandleCommand('breakpoint disable
%s' % name, res);
Is this the best way to do it? Can't seem to figure out how to use
SBTarget.BreakpointCreateBySourceRegex() for all files.
thanks...
don
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20171023/5f8a212d/attachment.html>
More information about the lldb-dev
mailing list