Debugging CarMaker with Visual Studio
Question
I have implemented my own user C code into a CarMaker project.
How can I debug the CarMaker executable using Microsoft Visual Studio?
Solution
These next steps will show you how to build and debug CarMaker using Visual Studio:
1) Open the src-folder of your CarMaker project and open the CarMaker.sln file with Visual Studio:
2) Make sure the Debug configuration is selected and build CarMaker:
3) Select the newly built CarMaker.win64.exe in the CarMaker GUI at Application > Configuration / Status. Then run it by clicking on Start & Connect:
4) Attach the Visual Studio debugger to the running CarMaker application by clicking Debug > Attach to Process...:
Now the debugger is attached to the CarMaker executable and you can start debugging e.g. by adding breakpoints.
If you are using the GCC compiler and want to debug using gdb, please refer to: Link
- Date: 27.01.2021
- Product: CarMaker
- Version: 13.0
- Component: C-Code Interface
- Language: English
Tags
DebugMSVC