diff -r 9f794b82bb7e -r 77bd041bbe72 core/DebugReporter.cpp --- a/core/DebugReporter.cpp Tue May 20 02:24:42 2008 +0000 +++ b/core/DebugReporter.cpp Tue May 20 02:30:55 2008 +0000 @@ -181,6 +181,9 @@ } iter->Release(); - return -1; + + /* If we don't know which plugin this is, it's one being loaded. Fake its index for now. */ + + return g_PluginSys.GetPluginCount() + 1; }