Senior
January 8, 2019
Question
Simulator crashes in VisualStudio after migration (only in Release-configuration)
- January 8, 2019
- 9 replies
- 2642 views
Hi
I've migrated our project from 4.9.3 to 4.10.0. Now I'm getting an exception when im running the simulator in visual studio 2017.
The error ocurrs when the program will execute the following line (189) within HALSDL2.cpp
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER) < 0)
The error only ocurrs in the release-configuration in visual studio.
Everything else works fine:
- Simulator in Visual Studio with debug-configuration
- Simulator In designer
- In IAR/on hardware
- With touchgfx 4.9.3 the simulator works with debug and release configuration within visual studio
When i'm creating a new Project with the designer, everything works fine. I've already compared the files and configuration of visual studio, but did not found a difference which solves the problem.
Has anyone a suggestion what the problem can be?
I've attached the call stack
Thanks in advance
