#170078 - Patched Python debugger code to eliminate crash
authorLou Dasaro <mr_lou_d@netbeans.org>
Mon, 22 Dec 2014 03:59:38 -0600
changeset 182134afc82a328ce
parent 18212 652ef5852b4d
child 18214 fe25f4486f70
#170078 - Patched Python debugger code to eliminate crash
python.debugger/src/org/netbeans/modules/python/debugger/resources/python/nbpythondebug/jpydaemon.py
     1.1 --- a/python.debugger/src/org/netbeans/modules/python/debugger/resources/python/nbpythondebug/jpydaemon.py	Sat Dec 13 21:56:24 2014 +0100
     1.2 +++ b/python.debugger/src/org/netbeans/modules/python/debugger/resources/python/nbpythondebug/jpydaemon.py	Mon Dec 22 03:59:38 2014 -0600
     1.3 @@ -1483,8 +1483,9 @@
     1.4              self.cmd = FREEZE
     1.5          elif ( string.upper(verb) == "BP-"):
     1.6              self.cmd = CLEAR_BP
     1.7 -            arg , optarg = _utils.nextArg(arg) # split BP arguments
     1.8 -            self.clear_break( arg , int(optarg) )
     1.9 +            file , optarg = _utils.nextArg(arg)
    1.10 +            line , optarg = _utils.nextArg(optarg)
    1.11 +            self.clear_break( file, int(line) )
    1.12              self.cmd = FREEZE
    1.13          elif ( string.upper(verb) == "KILL"):
    1.14              self.cmd = QUIT