Running Simulation in Debugging Sessions


After you have set up your simulator DLL project using the procedures described in the previous section, you can run your simulator routines in conjunction with the SansGUI environment in a debugging session in your IDE. Because your simulator project generates a DLL, the debugger in the IDE will use the Executable for debug sessions that you specified in the previous section as the starting program. The executable is SansGUI.exe, which will be linked dynamically to your simulator DLL in the debugging environment.

You may have other SansGUI environment running with some documents opened. Although not required, it is a good idea not to use any opened documents for debugging. To avoid file conflicts, you may want to close all other SansGUI program instances before starting the debugging session.

Debugging Simulator DLL in MSVC IDE

You can start a debugging session using the Trace build of the simulator DLL:

Continue on the next section, Tracing Through Simulator Code.

Debugging Simulator DLL in DVF IDE

You can start a debugging session using the Debug build of the simulator DLL:

Continue on the next section, Tracing Through Simulator Code.

 



C:\FH_Suite\htmlgifs\home.gif Setting up Debugging Environments Tracing Through Simulator Code

SansGUI Modeling and Simulation Environment Version 1.2

Copyright 2000-2003 ProtoDesign, Inc. All rights reserved.

http://protodesign-inc.com