I tried to enable TOAD debugging (Debug=1) in Toad.ini, hoping that it could help to analyze some problems, but TOAD seems to be getting slower and slower.
So I renamed my ToadDebug.txt to see if it depends on the file size, and I was surprised that the whole content reappeared.
Does TOAD always write the complete file instead of appending to it? Is there a reason for this?
Is there anything except for writing ToadDebug.txt file when Debug is enabled?
When debug=1, Toad writes massive amounts of information and that property shouldn't be used unless one of the devs or support asks for it. Ideally, the way to use it is to turn it on, do whatever steps break Toad, exit and the. It off. It's not meant to be a steaming dump of all things and will destroy performance.
Thread created by Peter Lang
I tried to enable TOAD debugging (Debug=1) in Toad.ini, hoping that it could help to analyze some problems, but TOAD seems to be getting slower and slower.
So I renamed my ToadDebug.txt to see if it depends on the file size, and I was surprised that the whole content reappeared.
Does TOAD always write the complete file instead of appending to it? Is there a reason for this?
Is there anything except for writing ToadDebug.txt file when Debug is enabled?
There are a LOT of places in the code where we capture information and write it. It’s a soul sucking beast but it gets quite a bit of useful information. More like a chainsaw instead of a scalpel.
I’m not talking about not writing the file, I was wondering if you rewrite the entire file with every log message or just append to the existing file which could reduce the soul sucking
I was hoping to get some information from the debug infos about this issue: www.toadworld.com/…/27382
I see, yeah we are rewriting the entire thing. We are loading the contents into a list of strings and working with it throughout Toad. I don't see why we need to work in this way so I'll look at appending only. It's faster and easier (and lazy) the way it is now, but not optimal.
Reply by Peter Lang
I'm not talking about not writing the file, I was wondering if you rewrite the entire file with every log message or just append to the existing file which could reduce the soul sucking
I was hoping to get some information from the debug infos about this issue: