You are viewing the documentation for OpenSim 2.4. Are you looking for the latest OpenSim 4.0 Documentation?

Debugging in OpenSim

This page contains information and tips on debugging in OpenSim source code.

In Visual Studio:

To avoid building the entire test suite and just run a particular program/test case, do the following:

  1. Insert breakpoints in the program.
  2. Right click on the program/test, select "Run as StartUp Project"
  3. Select Debug -> Start Debugging (or press F5)

The program will start running after all relevant dependencies were built, and the program will pause at the breakpoints.

If you are writing a plugin follow Debugging a plugin in Visual Studio.

Tips

  • Right clicking on breakpoints allow you add properties to them (action when hit, pause condition etc).
  • You can right click particular line in the program and click "Set Next Statement" and the program will execute the line next.

OpenSim is supported by the Mobilize Center , an NIH Biomedical Technology Resource Center (grant P41 EB027060); the Restore Center , an NIH-funded Medical Rehabilitation Research Resource Network Center (grant P2C HD101913); and the Wu Tsai Human Performance Alliance through the Joe and Clara Tsai Foundation. See the People page for a list of the many people who have contributed to the OpenSim project over the years. ©2010-2024 OpenSim. All rights reserved.