Skip to content

Commit

Permalink
Fix innability to set a breakpoint if session is not started
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslan.grabovoy committed Aug 22, 2012
1 parent ca74639 commit 3dca7d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/python/vdebug/runner.py
Expand Up @@ -181,6 +181,7 @@ def remove_breakpoint(self,args):
self.breakpoints.remove_breakpoint_by_id(id)

def set_breakpoint(self,args):
vdebug.opts.Options.set(vim.eval('g:vdebug_options'))
bp = vdebug.breakpoint.Breakpoint.parse(self.ui,args)
if bp.type == "line":
id = self.breakpoints.find_breakpoint(\
Expand Down

0 comments on commit 3dca7d7

Please sign in to comment.