|
[Sponsors] |
Program Behavior Different with "WM_COMPILE_OPTION=Debug" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 20, 2014, 16:05 |
Program Behavior Different with "WM_COMPILE_OPTION=Debug"
|
#1 |
Member
Eric M. Tridas
Join Date: May 2011
Location: Tampa, Florida
Posts: 48
Rep Power: 15 |
Hi Guys,
I've been programming a library lately and ran into a seemingly impossible to find bug. I had been stuck for days when I decided to do fresh OF install with debugging enabled. After this install I recompiled my library and went to test it and it worked fine! This was very confusing to me and although I am happy the bug has seemingly disappeared I still want to know what the issue was. Has anyone else ever ran into this type of issue? Thanks, Eric |
|
September 21, 2014, 13:16 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Eric,
Perhaps you've tripped on an Heisenbug? http://en.wikipedia.org/wiki/Heisenbug From your description, that sort of bug usually happens because the programmer is not being careful enough with every single compilation step. For example:
Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Chemkin Forums? PSR.f program help? | johnjohnmulley | Main CFD Forum | 2 | August 5, 2013 08:53 |
error in program: | mani.rajendiran | Fluent UDF and Scheme Programming | 0 | March 22, 2012 12:25 |
Which opensource and free CAD program? | Xwang | Main CFD Forum | 1 | October 24, 2010 18:29 |
Update boundary conditions calculated by an external program | CedricVH | OpenFOAM | 2 | January 15, 2010 12:55 |
Problem in program | tib | FLUENT | 0 | January 28, 2004 15:13 |