xsharp.eu • Different between Debug and Release in VS2017
Page 1 of 3

Different between Debug and Release in VS2017

Posted: Wed Aug 09, 2017 9:21 am
by Frank Müßner
Hi Guys,

what is the Different when i Build a Project

1: with configuration DEBUG -> i get no Errors
2: with configuration RELEASE - > i get much Errors.

for the compiler?

Configuration from Debug and Release seems same.
vsrelease.png
vsrelease.png (182.81 KiB) Viewed 680 times
Frank

Different between Debug and Release in VS2017

Posted: Wed Aug 09, 2017 9:30 am
by wriedmann
Hi Frank,

maybe in the Debug version some warnings are supressed?

Please check the compiler options - for sure they are different between Debug and Release.

Wolfgang

Different between Debug and Release in VS2017

Posted: Wed Aug 09, 2017 9:38 am
by Frank Müßner
Hi Wolfgang,

oh yes, i have not see that this can be set different. Thanks for the hint.

Frank

Different between Debug and Release in VS2017

Posted: Wed Aug 09, 2017 10:08 am
by Frank Müßner
I have customized the Build Settings from Debug to Release and all to X86 Plattform.

But i can not Start, i get:
er1.png
er1.png (66.31 KiB) Viewed 680 times
I have try several settings, strange.
Any thoughts?

Frank

Different between Debug and Release in VS2017

Posted: Wed Aug 09, 2017 10:08 am
by Frank Müßner
I have customized the Build Settings from Debug to Release and all to X86 Plattform.

But i can not Start, i get:
er1.png
I have try several settings, strange.
Any thoughts?

Frank

Different between Debug and Release in VS2017

Posted: Wed Aug 09, 2017 10:15 am
by wriedmann
Hi Frank,

it seems you have a runtime error and Visual Studio tries to load the debugging information for the Vulcan runtime that is not present (the Vulcan runtime you have was not compiled with debugging informations).

Try to start the application in debug mode (i.e. Debug, not Run) to see where the error is occurring.

Do you have set a try/catch block? Or see here:
https://www.xsharp.eu/forum/public-examples/340-error-handler-for-ported-vo-applications

Wolfgang

Different between Debug and Release in VS2017

Posted: Wed Aug 09, 2017 10:19 am
by Frank Müßner
Hi Wolfgang,

with Debug the Applikation start and run. And yes, i have the Error handler implemented.

Frank

Different between Debug and Release in VS2017

Posted: Wed Aug 09, 2017 10:27 am
by wriedmann
Hi Frank,

strange.... Unfortunately I have no VS 2017 installed (only 2015). Maybe you can post a screenshot of the different settings....

Wolfgang

P.S. I deliver all my applications compiled with debug and dbg files to have meaningful error messages with line numbers

Different between Debug and Release in VS2017

Posted: Wed Aug 09, 2017 10:38 am
by Frank Müßner
I have create a new Project and new Vulcan Test application. So that is not my Code.
I get error with Debug and Release.
er2.gif
er2.gif (18.24 KiB) Viewed 680 times
Yesterday i install the VS2017 Update 26430.16

Perhaps that is a Problem?

Frank

Different between Debug and Release in VS2017

Posted: Wed Aug 09, 2017 10:51 am
by wriedmann
Hi Frank,

this seems a normal runtime error. But since I have no VS 2017 installed I have to leave it to Robert or Chris - but maybe put your solution in a message here so the support is able to reproduce the issue easily.

Wolfgang