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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.
  • No labels