1
0
forked from mirrors/0ad

Disables the JS debugger.

It's completely broken since 4b1297b328 and will have to be updated for
the new SpiderMonkey API.
I only uncomment it at the moment because I plan to fix/reimplement it
soon after the upgrade.

Closes #2348
Refs #2241
Refs #1886

This was SVN commit r14506.
This commit is contained in:
Yves
2014-01-04 20:47:56 +00:00
parent da1a2eaba6
commit 7d516e7e7a
6 changed files with 25 additions and 12 deletions
+5 -2
View File
@@ -15,6 +15,8 @@
* along with 0 A.D. If not, see <http://www.gnu.org/licenses/>.
*/
// JS debugger temporarily disabled during the SpiderMonkey upgrade (check trac ticket #2348 for details)
/*
#include "precompiled.h"
#include "ThreadDebugger.h"
@@ -757,7 +759,7 @@ void CThreadDebugger::SaveStackFrameData(STACK_INFO stackInfo, uint nestingLevel
}
}
}
*/
/*
* TODO: This is very hacky and ugly and should be improved.
@@ -772,6 +774,7 @@ void CThreadDebugger::SaveStackFrameData(STACK_INFO stackInfo, uint nestingLevel
* the rest of the game and because this part of code should be replaced anyway in the future.
*/
/*
namespace CyclicRefWorkaround
{
std::set<JSObject*> g_ProcessedObjects;
@@ -933,4 +936,4 @@ uint CThreadDebugger::GetID()
CScopeLock lock(m->m_Mutex);
return m->m_ID;
}
*/