When you launch the debugger, you can set a breakpoint for the C/C++ imported function in the current model. This breaks, or pauses the Simulink simulation at the point it enters the imported function. This lets you perform further debugging actions, such as stepping through the function, printing variable values, or listing lines of code. Refer to the documentation for your debugging tool for more information on specific commands, and debugging techniques.
Setting a breakpoint uses the function name of the imported function:
(gdb) break <function_name>
Because simulation has not started, GDB responds that no symbol table is
loaded, and indicates that you can use the break
command to specify break points. This means that you can also specify breakpoints based
on the source file for the imported C/C++ function, and line number, specified as
follows:
(gdb) break <file name>:<line num>
For example: break func3_d.h:10