Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Different results from same code&settings
Re: Different results from same code&settings [message #18042 is a reply to message #18041] |
Sun, 07 September 2008 22:59   |
mr_ped
Messages: 826 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
"replace the files from my backup"
So are the files corrupted after such crashing run?
I don't see how this can be related, if you don't change anything in the sources and they remain intact.
What can make difference:
- first vs second compilation
especially if you restore your files from backup, they will have older timestamp, which will make BLITZ to behave more aggressively, compiling them very likely all in one big file.
Once you do some minor change (like space/enter) to some of the files, it will be not included into the big BLITZ for next X minutes, so the compilation process differs then.
- did you try "Clean [package]" or even "Rebuild All"?
Sometimes some older object files are not recompiled when they should, especially if you keep restoring your source files, thus causing havoc to files timestamps. Rebuild All is a very basic step in search for mystic crashes.
- do you try debug vs release mode? This can make big difference for uninitialized variables content and their misuse. Sometimes debug version works even with bug, release will crash.
- there can be plenty of reasons for crash, from compiler bug (gcc 4.2 is bad, are you at 4.1 or 4.3?) to bug in application to HW problem. Hard to tell without actual sources.
Try also Debug mode with "Run (in debugger)", maybe TheIDE will catch the crash and show you the place in source.
|
|
|
Goto Forum:
Current Time: Sat May 10 07:02:31 CEST 2025
Total time taken to generate the page: 0.03236 seconds
|