rober@B10Trto /cygdrive/c/Temp/Logs
$ egrep "OnLogLevel" 'log#1.log' 2020-09-05 15:21:02 pbedit.exe: [TRACE ID 2011] (pzbedit.cpp, line 439, MainWindow::OnLogLevel5()) entering MainWindow::OnLogLevel5() 2020-09-05 15:21:02 pbedit.exe: [INFO ID 1] in MainWindow::OnLogLevel5(), old log level 1, new log level 5 2020-09-05 15:21:05 pbedit.exe: [TRACE ID 2012] (pzbedit.cpp, line 443, MainWindow::OnLogLevel5()) exiting MainWindow::OnLogLevel5()
----------------
You appear to have done the Ctrl+Alt+5 in log#1.log (thereby raising the LogLevel to level 5.) From the line counts of the two log files, see how much more verbose the log#1.log (from the first trial?) is?
When the program has "locked up", I request that is precisely when you -- apart from the "locked" pbedit.exe -- capture a "snapshot" of the Logs/pbedit.log right then and only then, no exiting of the program beforehand.
If it is not clear (appears not to be), please reread the earlier instructions carefully.
Also, if the program has truly "locked up", I don't know how you were able to exit it (as evidenced by the last line in each of the two log files, where it indicates "pbedit.exe"). There are certainly situations where a program might "truly" lock up, where in order to terminate the program you need to resort to the Windows Task Manager, because the program itself is completely unresponsive. By "locked up", I guess you really mean to say it is v-e-r-y slow. Recall too that when that happens, allowing the heightened logging to do its thing, you wait ~5 minutes before taking the Logs/pbedit.log snapshot. Again, when you do that, leave the program itself entirely alone, do not exit or do anything else when taking the log file snapshot!
For added context between the two file sizes of the first two logs
The first log I added more units, and saved along the way. Again, I did not run into problems until the scenario reached a certain size, in this case 266kb seems to be the magic number.
Atheory / Designer of the "Tattered Flags Wargame Engine"(Currently on the look for a developer partner)
(09-06-2020, 08:32 AM)berto Wrote: And you waited for several minutes before capturing the snapshot, yes?
Darn it, well the program is still open. I will resend the log after a few more minutes. I did wait with the previous two logs and the program did not respond, I do not have faith it will this time. But I will wait.
Atheory / Designer of the "Tattered Flags Wargame Engine"(Currently on the look for a developer partner)
Note that, in either case but especially the one on the right, we see that the code has entered the function ForcesDraw::LoadPicture(), but there is no exit.
From the times, the beginnings of each log entry, you can see where the logging has become very slow.
There does indeed seem to be a slowdown in the graphics system indicated. [edit: Actually more than slowdown, rather, a real lock-up.]
... But, I have been called to dinner!
How about you kill the pbedit session now, and we take this up again tomorrow? In the meantime, I will ponder the mystery of this.