[Home] [Downloads] [Search] [Help/forum]

Log on
Register forum user name Search FAQ

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  Packet debugging is extremely slow

Packet debugging is extremely slow

You need to log onto the forum to reply or create new threads.

  [Refresh] Refresh page


Posted by Fiendish   USA  (2,315 posts)  [Biography] bio   Global Moderator
Date Wed 06 Jan 2021 06:20 PM (UTC)

Amended on Wed 06 Jan 2021 06:51 PM (UTC) by Fiendish

Message
Enabling packet debugging slows down MUSHclient tremendously. It makes it pretty hard to track problems that appear after hundreds of lines that are dependent on timing. It shouldn't be this slow to just dump some text.

https://github.com/fiendish/aardwolfclientpackage
[Go to top] top

Posted by Nick Gammon   Australia  (22,556 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Sat 09 Jan 2021 03:12 AM (UTC)
Message
This is a side-effect of the fact that the notepad windows (such as used by the packet debugging) are implemented as a windows text control and they are very slow when the text gets large. I think this is partly because every time there is new text the control attempts to wordwrap the entire contents again.

I have added a new plugin callback "OnPluginPacketDebug" to the pre-release version that lets you control how the debugging is displayed. For example, you could write it to a file.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


443 views.

You need to log onto the forum to reply or create new threads.

  [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]