Thread: Folding code in debugger window sets a breakpoint

Folding code in debugger window sets a breakpoint

From
Heikki Linnakangas
Date:
In the debugger window, when you click on a cross on the left margin to
fold or unfold a block of code, we also set or clear a breakpoint on
that line. That's clearly not the way it's supposed to work - should
only set/clear breakpoints when you click on the line number or the
margin that displays the red breakpoint symbol.

Attached is a patch to fix that.

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

Attachment

Re: Folding code in debugger window sets a breakpoint

From
Guillaume Lelarge
Date:
On Mon, 2012-05-07 at 14:53 +0300, Heikki Linnakangas wrote:
> In the debugger window, when you click on a cross on the left margin to
> fold or unfold a block of code, we also set or clear a breakpoint on
> that line. That's clearly not the way it's supposed to work - should
> only set/clear breakpoints when you click on the line number or the
> margin that displays the red breakpoint symbol.
>
> Attached is a patch to fix that.
>

Seems reasonnable. Commited to both branches.


--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com


Re: Folding code in debugger window sets a breakpoint

From
Guillaume Lelarge
Date:
On Mon, 2012-05-07 at 22:26 +0200, Guillaume Lelarge wrote:
> On Mon, 2012-05-07 at 14:53 +0300, Heikki Linnakangas wrote:
> > In the debugger window, when you click on a cross on the left margin to
> > fold or unfold a block of code, we also set or clear a breakpoint on
> > that line. That's clearly not the way it's supposed to work - should
> > only set/clear breakpoints when you click on the line number or the
> > margin that displays the red breakpoint symbol.
> >
> > Attached is a patch to fix that.
> >
>
> Seems reasonnable. Commited to both branches.
>

Thanks for your patch, BTW...


--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com