Enables the capture of source file name information for UI regions created in Lua or XML.


0 (default) 
Disables source file name capture for created UI regions.
Enables capture of source file names for created UI regions.


  • Source location information can be queried through the Region:GetSourceLocation() widget API.
  • Line number information for created regions is always captured irrespective of this setting.
  • Changing this console variable does not require a UI reload to take effect; any regions created after the variable is toggled will immediately respect the new state of the setting.
  • Changing this console variable has no retroactive effects on already-created regions, which will continue to report whatever source location information was stored when the region was initially created.