Re: Folding code in debugger window sets a breakpoint

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Folding code in debugger window sets a breakpoint
Date: 2012-05-07 20:26:32
Message-ID: 1336422392.2320.57.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2012-05-07 20:27:19 Re: Folding code in debugger window sets a breakpoint
Previous Message Guillaume Lelarge 2012-05-07 20:26:14 pgAdmin III commit: Don't reset breakpoints when folding code