aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--doc/debugging.txt20
2 files changed, 24 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f988160cd..ec96db563 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-09-28 Christian Persch <chpe@cvs.gnome.org>
+ * doc/debugging.txt:
+
+ Document EPHY_DEBUG_BREAK.
+
+2004-09-28 Christian Persch <chpe@cvs.gnome.org>
+
* configure.ac:
* data/Makefile.am:
A data/default-prefs-common.js:
diff --git a/doc/debugging.txt b/doc/debugging.txt
index f991c81e9..ba1943344 100644
--- a/doc/debugging.txt
+++ b/doc/debugging.txt
@@ -5,7 +5,6 @@ LOGGING
At execution time, you must enable the log service. To enable the
log service, set the environment variable: EPHY_LOG_MODULES
-variable.
EPHY_LOG_MODULES variable has the form:
@@ -17,12 +16,29 @@ The special log module "all" enables all log modules.
Use the LOG macro to put debug messages in the code.
+WARNINGS
+========
+
+At execution time, you must enable the service. To enable you to debug
+warnings, set the environment variable: EPHY_DEBUG_BREAK
+
+Possibe value for EPHY_DEBUG_BREAK variable:
+
+ stack Prints a stack trace.
+
+ suspend Use this to stop execution when a warning occurs.
+ You can then attach a debugger to the process.
+
+ trap Use this while running epiphany in a debugger.
+ This makes execution stop and gives back control to
+ the debugger.
+
+
PROFILING
=========
At execution time, you must enable the profiling service. To enable the
profiling service, set the environment variable: EPHY_PROFILING_MODULES
-variable.
EPHY_PROFILE_MODULES variable has the form: