aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSim.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-10 22:38:48 +0000
committerJustin Clark-Casey (justincc)2013-01-25 23:49:26 +0000
commit069e2d6443b6bae3be970131b9dd327b41bc9f59 (patch)
treeeb021a7d127276fee092f9febdb26ad873214ca6 /OpenSim/Region/Application/OpenSim.cs
parentrevert accidental change to MemoryWatchdog stat calculation in previous b1b4687 (diff)
downloadopensim-SC_OLD-069e2d6443b6bae3be970131b9dd327b41bc9f59.zip
opensim-SC_OLD-069e2d6443b6bae3be970131b9dd327b41bc9f59.tar.gz
opensim-SC_OLD-069e2d6443b6bae3be970131b9dd327b41bc9f59.tar.bz2
opensim-SC_OLD-069e2d6443b6bae3be970131b9dd327b41bc9f59.tar.xz
Add "debug scene pbackup true|false" console command. This enables or disable periodic scene backup. For debug purposes.
If false, scene is still saved on shutdown.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index cffbb3b..492ee4a 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -239,13 +239,15 @@ namespace OpenSim
239 m_console.Commands.AddCommand("Debug", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug); 239 m_console.Commands.AddCommand("Debug", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug);
240 240
241 m_console.Commands.AddCommand("Debug", false, "debug scene", 241 m_console.Commands.AddCommand("Debug", false, "debug scene",
242 "debug scene active|collisions|physics|scripting|teleport true|false", 242 "debug scene active|collisions|pbackup|physics|scripting|teleport|updates true|false",
243 "Turn on scene debugging.", 243 "Turn on scene debugging options.",
244 "If active is false then main scene update and maintenance loops are suspended.\n" 244 "If active is false then main scene update and maintenance loops are suspended.\n"
245 + "If collisions is false then collisions with other objects are turned off.\n" 245 + "If collisions is false then collisions with other objects are turned off.\n"
246 + "If pbackup is false then periodic scene backup is turned off.\n"
246 + "If physics is false then all physics objects are non-physical.\n" 247 + "If physics is false then all physics objects are non-physical.\n"
247 + "If scripting is false then no scripting operations happen.\n" 248 + "If scripting is false then no scripting operations happen.\n"
248 + "If teleport is true then some extra teleport debug information is logged.", 249 + "If teleport is true then some extra teleport debug information is logged."
250 + "If updates is true then any frame which exceeds double the maximum desired frame time is logged.",
249 Debug); 251 Debug);
250 252
251 m_console.Commands.AddCommand("General", false, "change region", 253 m_console.Commands.AddCommand("General", false, "change region",
@@ -764,7 +766,7 @@ namespace OpenSim
764 else 766 else
765 { 767 {
766 MainConsole.Instance.Output( 768 MainConsole.Instance.Output(
767 "Usage: debug scene active|scripting|collisions|physics|teleport true|false"); 769 "Usage: debug scene active|collisions|pbackup|physics|scripting|teleport|updates true|false");
768 } 770 }
769 771
770 break; 772 break;