pgAdmin III commit: If the function, which is being debugged, raise too - Mailing list pgadmin-hackers

From Dave Page
Subject pgAdmin III commit: If the function, which is being debugged, raise too
Date
Msg-id E1UwBjO-00081h-JM@gothos.postgresql.org
Whole thread Raw
List 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.vashi@enterprisedb.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(-)


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: PATCH: Handle the cross type of debugging (context & in-context) on same function at the same time
Next
From: Dave Page
Date:
Subject: Re: PATCH: Handling too many notices from the debugging function