Add the ability to set python breakpoint commands from the SBBreakpoint & SBBreakpoin...
authorJim Ingham <jingham@apple.com>
Wed, 2 Apr 2014 01:04:55 +0000 (01:04 +0000)
committerJim Ingham <jingham@apple.com>
Wed, 2 Apr 2014 01:04:55 +0000 (01:04 +0000)
commitd80102e4203691c31314fb3f65c5f91d86dbf06e
tree47bf527eebc2300e2d86f96c3c85a1a021f3eac9
parent3c2b13b25825d0e8cd798e2e1e78b31f2f516d32
Add the ability to set python breakpoint commands from the SBBreakpoint & SBBreakpointLocation API's.
You can either provide the function name, or function body text.
Also propagate the compilation error up from where it is checked so we can report compilation errors.

<rdar://problem/9898371>

llvm-svn: 205380
lldb/include/lldb/API/SBBreakpoint.h
lldb/include/lldb/API/SBBreakpointLocation.h
lldb/include/lldb/API/SBError.h
lldb/include/lldb/Interpreter/ScriptInterpreter.h
lldb/include/lldb/Interpreter/ScriptInterpreterPython.h
lldb/scripts/Python/interface/SBBreakpoint.i
lldb/scripts/Python/interface/SBBreakpointLocation.i
lldb/source/API/SBBreakpoint.cpp
lldb/source/API/SBBreakpointLocation.cpp
lldb/source/Commands/CommandObjectBreakpointCommand.cpp
lldb/source/Interpreter/ScriptInterpreterPython.cpp