- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
when I fixsome bugs in my CVF6.0 project, I got a doubt ,
this is my test code:
INTEGER a(5)
a(0) = 5
WRITE(*,*) a(0)
END
a(0) = 5
WRITE(*,*) a(0)
END
a(0) = 5 is a apparent error, and I got my debug version, it will crash when I run it, but if I got a release version, it will run very well, output "5".
Why?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
DEBUG means DE-BUG and is the configuration to be used to trap and fix bugs. RELEASE is another story, here many bugs may not be visible. Thus develop application using DEBUG and ship the RELEASE. The advantage of the RELEASE is that it is faster and that it does not terminate easily due to unimportant bugs.
Regards,
Lars Petter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In particular, a Debug configuration turns on array bounds checking and a Release configuration turns it off.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page