Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
program crashes about 20% of the time
#14
GOTO is nightmare to debug except in very small self contained blocks of code.

Too many GOSUBs and you are bound to trip over your main code variables, stick with safe local variables in subroutines. Specially when have over 2500 LOC! Routines can be tested independently and once debugged likely to stay debugged.

Besides that's not the issue with this code.

Billy has to narrow down what is causing problems. Crash without error messages does sound like memory leak or stack going past it's storage capacity because of repeated calls either recursively or unintentionally.

I like what Pete said, test like an electrician from start to point A and move point A down the line until error is isolated.
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Messages In This Thread
RE: program crashes about 20% of the time - by bplus - 12-18-2022, 08:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  question on determining time spent in area fistfullofnails 9 845 08-25-2025, 01:55 PM
Last Post: fistfullofnails
  how to get a file's modified date/time and size in bytes? madscijr 36 7,859 05-10-2025, 05:17 AM
Last Post: eoredson
  Testing against multiple elements at a time without select case CMR 4 845 04-17-2025, 02:16 AM
Last Post: CMR
  Hard time with hardware acceleration. Pete 8 1,040 03-21-2025, 11:29 PM
Last Post: Pete
  Assigning Date$/Time$ does not wotk eoredson 15 2,562 09-13-2024, 05:05 AM
Last Post: eoredson

Forum Jump:


Users browsing this thread: 1 Guest(s)