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
|
|
@ -45,8 +45,10 @@ _logger = logging.getLogger( __name__ )
|
|||
SetUpLogging( _logger )
|
||||
|
||||
|
||||
def BufferNumberForFile( file_name ):
|
||||
return int( vim.eval( "bufnr( '{0}', 1 )".format( Escape( file_name ) ) ) )
|
||||
def BufferNumberForFile( file_name, create = True ):
|
||||
return int( vim.eval( "bufnr( '{0}', {1} )".format(
|
||||
Escape( file_name ),
|
||||
int( create ) ) ) )
|
||||
|
||||
|
||||
def BufferForFile( file_name ):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue