pgAdmin III commit: If the function, which is being debugged, raise too

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: If the function, which is being debugged, raise too
Date: 2013-07-08 13:43:54
Message-ID: E1UwBjO-00081h-JM@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

If the function, which is being debugged, raise too many notices, pgadmin will become unresponsive.

As wxTextCtrl is not able to cop up with frequent AppendText calls, I have to introduce a timer to show the
current message(s) after the timer stops. That allows to avoid the frequent call to the AppendText function.
Appending those message to the current message instead of calling the function.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=e1d80d47a035f655f39db62fff0e010215b63247
Author: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>

Modified Files
--------------
pgadmin/debugger/ctlMessageWindow.cpp | 20 +++++++++++++++++++-
pgadmin/debugger/dbgController.cpp | 2 +-
pgadmin/debugger/dbgEvents.cpp | 10 +++++-----
pgadmin/include/debugger/ctlMessageWindow.h | 8 ++++++++
4 files changed, 33 insertions(+), 7 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2013-07-08 13:44:32 Re: PATCH: Handling too many notices from the debugging function
Previous Message Dave Page 2013-07-08 13:30:34 Re: PATCH: Handle the cross type of debugging (context & in-context) on same function at the same time