We have a C++ model that interfaces to our Systemverilog sim environmen through Systemverilog DPI.
Currently, debugging inside the C++ model is a non-interactive process -- after a failure is noted in a logfile, we make a 'bes-guess' as to where it came from, and then add vpi printf() statements to the C++ model, re-compile and re-run.
This is probably more of a general C++ debugging question, but is there a way or tutorial guide on how to attach a gdb process (spwaned from Eclipse IDE) to the ncsim simulator, to give me debug-visibility/controllability into the C++ model?