Re: [pgAdmin4][Patch]: To fix the issue in Debugger module

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: To fix the issue in Debugger module
Date: 2017-12-05 04:32:43
Message-ID: CA+OCxoyQBkgfj_QArVM4uudAqdkEFg+3EUntrK8-DANJ0UVqeA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, patch applied!

On Mon, Dec 4, 2017 at 6:13 PM, Murtuza Zabuawala <
murtuza(dot)zabuawala(at)enterprisedb(dot)com> wrote:

> Hi Dave,
>
> PFA updated patch.
>
> On Sat, Dec 2, 2017 at 10:42 AM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
>> Hi
>>
>> On Thursday, November 30, 2017, Murtuza Zabuawala <
>> murtuza(dot)zabuawala(at)enterprisedb(dot)com> wrote:
>>
>>> Hi,
>>>
>>> PFA patch to fix the issue where debugger failed to run when user tries
>>> to debug the function which call itself recursively.
>>> RM#2524
>>>
>>
>> This seems to fix the recursion problem, but walking the stack doesn't
>> work - no matter which frame I click on, the highlighted source code line
>> remains that of the top frame, as does the value of in_val on the
>> Parameters tab.
>>
> ​Fixed.​
>
> ​It's due to improper conditional logic to select frame id in JS code.​
>
>
>>
>> Thanks.
>>
>>
>> --
>> Dave Page
>> Blog: http://pgsnake.blogspot.com
>> Twitter: @pgsnake
>>
>> EnterpriseDB UK: http://www.enterprisedb.com
>> The Enterprise PostgreSQL Company
>>
>>
>

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-12-05 04:43:08 pgAdmin 4 commit: Prevent the user pressing the select button in the fi
Previous Message Dave Page 2017-12-05 04:32:22 pgAdmin 4 commit: Fix debugging of self-referencing functions. Fixes #2