Permalink
Browse files

Allow removing of breakpoints after debugging, fix #48

If set_line() was called on a breakpoint, the value was not cast to an
integer. This caused comparisons to fail. Now always wrap the value in
int().
  • Loading branch information...
1 parent 4e3af97 commit 5fef790617d4695983d4c14dc14f5a658c7b349e @joonty committed Feb 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/python/vdebug/breakpoint.py
@@ -183,7 +183,7 @@ def get_line(self):
return self.line
def set_line(self,line):
- self.line = line
+ self.line = int(line)
def get_file(self):
return self.file

0 comments on commit 5fef790

Please sign in to comment.