Vitis Model Composer can debug C/C++ code
that was imported using the xmcImportFunction command
or as an HLS Kernel or AI Engine block.
This feature lets you build the C/C++ function with debug information, and load it into Simulink for simulation. Once loaded, you can step into the C/C++ code of a specific imported block, and debug the function.
The debugging environment lets you set debug break points in the C/C++ code. You can then step through, and observe intermediate results to verify the function in simulation. Debugging C/C++ code during Simulink simulation provides a natural flow. You can set desired input stimulus in Simulink, and observe the effect stepping through the code.