Questions fréquemment posées

Need technical support?

How can the CarMaker executable be run in debug mode?

Question

When writing c-code extensions you may find yourself in the situation of being able to successfully compile your code but still running into errors while running the simulation. In this case it can be very helpful to start CarMaker in debugging mode.
This article shows an easy to use approach on how to do so using the GDB debugger in CarMaker Office and on the XPack4.

Solution

If you want to debug using Visual Studio, please refer to: Link

Otherwise refer to the document attached below:

Download: Debugging.pdf

Need technical support?
  • Date: 24.11.2019
  • Product: CarMaker
  • Version: 8.0
  • Component: C-Code Interface
  • Language: English

Tags

C code
Debugging
gdb