diff options
author | Monroe Linden <monroe@lindenlab.com> | 2009-11-10 15:57:26 -0800 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2009-11-10 15:57:26 -0800 |
commit | 2fd31363f747aaf0ec3d3d6b5711e0ecc99b2cf3 (patch) | |
tree | 0b17d949176aa80dbb0801ac240e36317e5f57e1 /indra/llcommon | |
parent | 2d5c6ea8207664ed3ef5de356638f7e30b812836 (diff) |
Added PluginAttachDebuggerToPlugins debug setting.
Added accessors to get platform-specific process ID from LLProcessLauncher.
Added an optional "debug" argument to LLPluginClassMedia::init() and LLPluginProcessParent::init() (defaults to false).
Mac only: made the state machine in LLPluginProcessParent::idle() open a new window in Terminal.app with a gdb session attached to the plugin process upon successful launch.
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llprocesslauncher.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llcommon/llprocesslauncher.h b/indra/llcommon/llprocesslauncher.h index 880562157f..929d547f6e 100644 --- a/indra/llcommon/llprocesslauncher.h +++ b/indra/llcommon/llprocesslauncher.h @@ -70,6 +70,14 @@ public: // This needs to be called periodically on Mac/Linux to clean up zombie processes. static void reap(void); + + // Accessors for platform-specific process ID +#if LL_WINDOWS + HANDLE getProcessHandle() { return mProcessHandle; }; +#else + pid_t getProcessID() { return mProcessID; }; +#endif + private: std::string mExecutable; std::string mWorkingDir; |