This project is read-only.

Turn Off Shape Tracing from Outside Orchard

Topics: Troubleshooting, Writing themes
May 12, 2013 at 7:26 AM

I've enabled shape tracing for a new theme, however much of the JavaScript is blowing up because of syntax errors (1.x branch, if it matters).

Now things are in a state that I can't go back in to turn off shape tracing because of the error in VisualStudio (I'm running it in VS as a developer).

Is there a way to disable shape tracing from outside Orchard?

- Steve
May 12, 2013 at 7:34 AM
Just following up, it is possible to disable it by clicking through all of the many (and I do mean many) JavaScript errors to eventually arrive at the modules admin page where shape tracing can be turned off.

I'd still be interested to know of an easier way to do this though, as I'd eventually like to get shape tracing working with the theme.

- Steve
May 12, 2013 at 1:24 PM
You can disable the feature directly from the database. Look for Settings_ShellFeatureStateRecord table and set the EnableState for the ShapeTracing feature to Down. Be sure to delete the cache.dat file in App_Data and recycle the app pool (touching web.config will cause an app pool recycle).