Re: Folding code in debugger window sets a breakpoint - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject Re: Folding code in debugger window sets a breakpoint
Date
Msg-id 1336422392.2320.57.camel@localhost.localdomain
Whole thread Raw
In response to Folding code in debugger window sets a breakpoint  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Folding code in debugger window sets a breakpoint  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-hackers
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


pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Don't reset breakpoints when folding code
Next
From: Guillaume Lelarge
Date:
Subject: Re: Folding code in debugger window sets a breakpoint