Add SetLineBreakpoint and ClaerLineBreakpoint APIs
These are useful for running tests (i.e. ensure there's a breakpiont at the start of the test) and/or other programmatic usages. They will also be needed for setting temporary breakpionts.
This commit is contained in:
parent
78bec87f4e
commit
0d112d70a0
5 changed files with 105 additions and 44 deletions
|
|
@ -1165,6 +1165,12 @@ class DebugSession( object ):
|
|||
def ToggleBreakpoint( self, options ):
|
||||
return self._breakpoints.ToggleBreakpoint( options )
|
||||
|
||||
def SetLineBreakpoint( self, file_name, line_num, options ):
|
||||
return self._breakpoints.SetLineBreakpoint( file_name, line_num, options )
|
||||
|
||||
def ClearLineBreakpoint( self, file_name, line_num ):
|
||||
return self._breakpoints.ClearLineBreakpoint( file_name, line_num )
|
||||
|
||||
def ClearBreakpoints( self ):
|
||||
if self._connection:
|
||||
self._codeView.ClearBreakpoints()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue