statetree.startdebuggertraces

statetree.startdebuggertraces

#Overview

name: statetree.startdebuggertraces

This variable is created as a Console Variable (cvar).

It is referenced in 2 C++ source files.

#Summary

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/StateTreeModule.cpp:63

Scope (from outer to inner):

file
class        class FStateTreeModule : public IStateTreeModule

Source code excerpt:


	FAutoConsoleCommand StartDebuggerTracesCommand = FAutoConsoleCommand(
		TEXT("statetree.startdebuggertraces"),
		TEXT("Turns on StateTree debugger traces if not already active."),
		FConsoleCommandDelegate::CreateLambda([]
			{
				IStateTreeModule& StateTreeModule = FModuleManager::GetModuleChecked<IStateTreeModule>("StateTreeModule");
				int32 TraceId = 0;
				StateTreeModule.StartTraces(TraceId);

#Loc: <Workspace>/Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeSettings.h:19

Scope: file

Source code excerpt:

	 * Editor targets relies on PIE and StateTreeEditor to start/stop traces.
	 * This is to start traces automatically when launching Standalone, Client or Server builds. 
	 * It's also possible to do it manually using 'statetree.startdebuggertraces' and 'statetree.stopdebuggertraces' in the console.
	 */
	UPROPERTY(EditDefaultsOnly, Category = StateTree, config)
	bool bAutoStartDebuggerTracesOnNonEditorTargets = false;
};