Is anyone else having a hard time debugging stuff past 1500 lines of system.debuglog ?
I’m getting huge delays in seeing the logs coming through, so much so that I’m resorting to DebugView in windows to see them in real time.
Anyone else getting this?
FYI I’m debugging some events so I’m expecting a lot of messages while I track something down, getting that in before this turns into a “why you do so much debug, do less debug, make happy”
Its a text area now. It used to be a mini web app. Adding a message would just execute some JavaScript to add it. Now Im pretty sure they need to do something like Area.Text = Area.Text + Line. And thats slow in comparison.
these are all reasons I wrote a simple “debug” method. the system logs lag… and sometimes messages end up out of sequence.
mine actually opens a file appends the msg, closes the file… and believe it or not, the performance hit is super small
[quote=413081:@Dave S]these are all reasons I wrote a simple “debug” method. the system logs lag… and sometimes messages end up out of sequence.
mine actually opens a file appends the msg, closes the file… and believe it or not, the performance hit is super small[/quote]
Yeah, but that doesnt really help anything in this case. Xojo had a working solution and ditched it for some reason. Im not sure why. The cynic in me thinks it was a faster way to handle dark mode, and/or because it was work I did. I dont know what the real reason is though.
Dont get be wrong, the web view had some issues. Copying data from it was a pain. But if youre suggesting Xojo do away with the pane and log to a file instead, thats definitely not the easy-to-use solution they should be looking for.
[quote=413083:@Thom McGrath]Yeah, but that doesnt really help anything in this case. Xojo had a working solution and ditched it for some reason. Im not sure why. The cynic in me thinks it was a faster way to handle dark mode, and/or because it was work I did. I dont know what the real reason is though.
Dont get be wrong, the web view had some issues. Copying data from it was a pain. But if youre suggesting Xojo do away with the pane and log to a file instead, thats definitely not the easy-to-use solution they should be looking for.[/quote]
We ditched it because it was not a working solution across the board. The HTMLViewer was overkill in terms of memory usage for just displaying text and when you got to very high amounts of data while it worked fine on macOS, it didnt wasnt viable Windows and Linux. As you mentioned, it left something to be desired when copying text.
Yeah Norman emailed me yesterday. I can accept the explanation, but it also feels like 6 of one, half dozen of the other. This solution still has problems like, as mentioned here, slow update speed and poor formatting.