Hi there.
Just wondering what the main differences between Debug and Release builds are?
Thanks
Brent
Debug vs Release Builds
-
- Certified Professional
- Posts: 23
- Joined: Wed Jun 25, 2014 11:59 am
Re: Debug vs Release Builds
Debug builds are not optimized and are compiled in-line for easier debugging.
Release builds are optimized by the compiler for faster running and do not have the debugging symbols included usually.
For Ranorex scripts, it really won't matter if you use Debug builds all the time. The speed increase in an application of this type is negligible and you will get more use out of having the Debugging available most of the time.
If you have very large tests (such that compiling them takes more than 10 minutes) then you "might" get a bit more speed out of the Release mode, but if your tests are that big, I would humbly submit that you need to re-think your test strategy. Keep it simple.
Note: This is a feature of the .NET (and most other languages') compiler, not specifically a Ranorex feature. Ranorex is built on .NET and Ranorex Studio is built on SharpDevelop 3.2, both of which include this setting.
Release builds are optimized by the compiler for faster running and do not have the debugging symbols included usually.
For Ranorex scripts, it really won't matter if you use Debug builds all the time. The speed increase in an application of this type is negligible and you will get more use out of having the Debugging available most of the time.
If you have very large tests (such that compiling them takes more than 10 minutes) then you "might" get a bit more speed out of the Release mode, but if your tests are that big, I would humbly submit that you need to re-think your test strategy. Keep it simple.

Note: This is a feature of the .NET (and most other languages') compiler, not specifically a Ranorex feature. Ranorex is built on .NET and Ranorex Studio is built on SharpDevelop 3.2, both of which include this setting.
Shortcuts usually aren't...