I find it a personal failing that, while I had the chance, I never made a table of this for people to use. Now that I can provide a link to it where everyone can see, may you all forgive me for my sins.
Here are a list of arguments you can give -debug for additional information. May this provide you with ample debugging opportunities.
namespace Rv {
using namespace TwkUtil;
using namespace std;
using namespace IPCore;
using namespace boost;
static Options* globalOptions=0;
static ENVVAR_INT( evProgressiveSourceLoading, "RV_PROGRESSIVE_SOURCE_LOADING", 0 );
void debugSwitches(const std::string& name)
{
if (name == "events") TwkApp::Document::debugEvents();
else if (name == "threads") stl_ext::thread_group::debug_all(true);
else if (name == "gpu") ImageRenderer::reportGL(true);
else if (name == "audio") { AudioRenderer::setDebug(true); TwkMovie::ResamplingMovie::setDebug(true); }
else if (name == "audioverbose") { AudioRenderer::setDebugVerbose(true); AudioRenderer::setDebug(true); TwkMovie::ResamplingMovie::setDebug(true); }
else if (name == "dumpaudio") { AudioRenderer::setDumpAudio(true); TwkMovie::ResamplingMovie::setDumpAudio(true); }
else if (name == "shaders") { Shader::setDebugging(Shader::AllDebugInfo); }
else if (name == "shadercode") { Shader::setDebugging(Shader::ShaderCodeDebugInfo); }
else if (name == "profile") debugProfile = true;
7 Likes