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
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to