henry-ajere / rad2py

Automatically exported from code.google.com/p/rad2py
GNU General Public License v3.0
0 stars 0 forks source link

fix cancel on cond'l breakpoint #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start debugging
2. set a conditional breakpoint
3. try to toggle and cancel

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "main.py", line 949, in OnEditAction
    self.active_child.OnEditAction(event)
  File "main.py", line 1184, in OnEditAction
    handlers[event.GetId()](event)
  File "/home/reingart/rad2py/ide2py/editor.py", line 755, in ToggleAltBreakpoint
    self.ToggleBreakpoint(evt, lineno, cond, temp)
UnboundLocalError: local variable 'temp' referenced before assignment

Please use labels and text to provide additional information.

Original issue reported on code.google.com by reingart@gmail.com on 2 Jul 2014 at 10:41