crash debugger

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
yrreti
Enthusiast
Enthusiast
Posts: 546
Joined: Tue Oct 31, 2006 4:34 am

crash debugger

Post by yrreti »

Windows XP had a special secret start-up logger debugger that logged what failed on start-up, and
was very useful in troubleshooting issues.
It sure would be nice to have a similar debugger to help isolate why PB crashes during start-up when it does.
When I first installed PB 5.30 beta4 over my beta3, it crashed on program start up all the time.
I reinstalled beta3 which brought it back to working again, and installed beta4 in a new directory.
Now beta4 works okay. I even copied the pref files from beta3 to beta4's dir and it still works fine.
(I use the /PORTABLE switch)
I have no idea of why it was crashing. But this is where a start-up log file debuger would really be helpful
in seeing what's wrong.
It would also be nice if it would be possible to have a similar feature added that could do the same thing
when you press F5 to run a program from the IDE. By creating a log file as the program start up, it could help
isolate just where the failure is. I know the existing IDE program does pretty good on a lot of issues, but
there are still some crash errors that occur that give very little information to help you in finding out why.
This second request could be selectable from the debugger menu just like you would check Use Debugger from
that menu when you want to use it.
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: crash debugger

Post by c4s »

yrreti wrote:[...] I have no idea of why it was crashing. [...]
PB Update Rule #1: Never ever install a new PB version over an old one! It's even mentioned in the help file (under "Installation").
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
yrreti
Enthusiast
Enthusiast
Posts: 546
Joined: Tue Oct 31, 2006 4:34 am

Re: crash debugger

Post by yrreti »

PB Update Rule #1: Never ever install a new PB version over an old one! It's even mentioned in the help file (under "Installation").
Actually, I have never had any real serious problem doing that since going from the 3.90 series to the 4.00 series.
I like to do that so I don't have to copy all the other installed personal files and prefs each time I install a new version.

But as I requested previously, it would be nice to have a config start up switch that would run this start-up debugger logger if needed.
That way it could really help in finding what or where the start up failed. Look at the issues that happened in the Bugs - Windows
index with PB4.30 beta4 64bit. (PB5.30b4x64 IDE crashes opening pb/pbi in filemanager) and ([5.30B4] crash when start program)
Post Reply