mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-22 01:27:12 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user