diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 18:25:20 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 18:25:20 +0000 |
commit | dbd9bfc0b4df5132997d1c4216ba4bbd860fed85 (patch) | |
tree | e4e6ec0a6e0468447d6b0337bd981c55c376099e /base/debug_util.h | |
parent | f505c31ba55975411a009f74a59b001a5a46bb56 (diff) | |
download | chromium_src-dbd9bfc0b4df5132997d1c4216ba4bbd860fed85.zip chromium_src-dbd9bfc0b4df5132997d1c4216ba4bbd860fed85.tar.gz chromium_src-dbd9bfc0b4df5132997d1c4216ba4bbd860fed85.tar.bz2 |
Some fixes to ease debugging of the renderer process on OS X.
Review URL: http://codereview.chromium.org/21084
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/debug_util.h')
-rw-r--r-- | base/debug_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/debug_util.h b/base/debug_util.h index b7b5180..b61cb1e 100644 --- a/base/debug_util.h +++ b/base/debug_util.h @@ -43,6 +43,10 @@ class DebugUtil { static bool WaitForDebugger(int wait_seconds, bool silent); // Are we running under a debugger? + // On OS X, the underlying mechanism doesn't work when the sandbox is enabled. + // To get around this, this function caches it's value. + // WARNING: Because of this, on OS X, a call MUST be made to this function + // BEFORE the sandbox is enabled. static bool BeingDebugged(); // Break into the debugger, assumes a debugger is present. |