Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aniUv-0006Ce-6p for pgadmin-hackers@arkaria.postgresql.org; Wed, 06 Apr 2016 08:07:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aniUu-0002fj-MX for pgadmin-hackers@arkaria.postgresql.org; Wed, 06 Apr 2016 08:07:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aniUh-0002Qi-9x for pgadmin-hackers@postgresql.org; Wed, 06 Apr 2016 08:07:19 +0000 Received: from mail-io0-x22b.google.com ([2607:f8b0:4001:c06::22b]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aniUZ-0003IM-AB for pgadmin-hackers@postgresql.org; Wed, 06 Apr 2016 08:07:18 +0000 Received: by mail-io0-x22b.google.com with SMTP id o126so25098029iod.0 for ; Wed, 06 Apr 2016 01:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=+3l1YhKKTX8a8+EcisPzSRGYfpCLcplCKUJouzTGRFU=; b=T+6fdn0kTr6J9lQ0IagON9OAAP3qtb6BFClhsos2wdNnmjBSDKCjvOqOZFvmM9piQD e8MYBz3GRuf91foqR0ZpDwNmKEM+0LTJEdzUpm5pplU9mvRA9hNKhdSMOtpytkQgVh0b kwgT5tAHR7w6n+NtPfquh3Srw6097WRt/I1K2fUg8k9pYATefRDrzPpDYVdCeNIjDXpD vLaAUeKQJs3a+J6Sod8TRBZwbkSP47tPAHi5T7bfEbIZVogvcpmDYzDbtsl3uf/02s9G OQ1NyyL8pT5z/PiKrdb37HvuMh3RZ0eLHKR0NcckEkqZEkGUo2hOUsAPz7HQvRwje2bE NLMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=+3l1YhKKTX8a8+EcisPzSRGYfpCLcplCKUJouzTGRFU=; b=jOe/WTF5rCflwiJQdlLxFowX8LSOnHROa7yRd0QHbbtlxAHvu1HtKXR/iwd8e2UKJr ygPlx8Bn5FPZFsBrK2hkNKB6iZhu1cuxFVPmf8OpAM2842nEUxa3/1c8w6DCrEg3Tl+v tIYqSIuHXd13SuzTsIozOUg2BDEeDt6Rz+qciLQPAF+tYhIM7i+wPag7lZ0JqWjjOBDa UD0S1n/o8t41/TcxLteLm0liXQyGdMdR99tDXZkn9gUqWvFDydvVdEo6EDNIa7S1Vz/9 m7MSwS+SeJ3u4iGtoSmky61+559lWwD3vxXn6CHxQdi76BVioZpELQCES1j0pZ3Dm83m 8IjQ== X-Gm-Message-State: AD7BkJJ/9Y9TruJR94y5ZiVhQ3gjgbU5fZllaHr+87int0ksZQyYqnUFqbeWv/pYryF7T+AGLop3Q4ATgN5t/g== MIME-Version: 1.0 X-Received: by 10.107.148.210 with SMTP id w201mr21976573iod.63.1459930029014; Wed, 06 Apr 2016 01:07:09 -0700 (PDT) Received: by 10.64.105.131 with HTTP; Wed, 6 Apr 2016 01:07:08 -0700 (PDT) In-Reply-To: References: Date: Wed, 6 Apr 2016 09:07:08 +0100 Message-ID: Subject: Re: [pgAdmin4][Debugger]: Initial Patch From: Dave Page To: Neel Patel Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org On Wed, Apr 6, 2016 at 8:57 AM, Neel Patel wrote: > Hi Dave, > > I got the root cause. Issue will reproduce when we applied Akshay's query > tool patch. > Issue was once the panel was initialized, HTML file was not getting loaded > in to the panel due to the change in frame.js. > > Both query tool and debugger patch file contains the change in "frame.js" > file. Once you applied the query tool patch and after that debugger then > debugger patch should fail but i don't know why you do not get any error. > > Solution:- > > Open "frame.js" file and add the below line in "setTimeout" function which > is required by debugger. > > pgBrowser.Events.trigger('pgadmin-browser:frame:urlloaded:' > + that.name, frame, that.url, self); > > Do let us know if you still face the same issue. Ahh, good catch - that got it :-) Thanks! -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers