1
0
forked from 0ad/0ad

Fixes JS debugger, fixes VS 2013 build error, re-fixes #2127, #2175

This was SVN commit r13973.
This commit is contained in:
historic_bruno 2013-10-07 22:55:30 +00:00
parent 8464777759
commit f3d088dd5c

View File

@ -50,7 +50,7 @@ void CDebuggingServer::GetAllCallstacks(std::stringstream& response)
{
if (nbrCallstacksWritten != 0)
response << ",";
response << "{" << "\"ThreadDebuggerID\" : " << (*itr)->GetID() << ", \"CallStack\" : " << stream << "}";
response << "{" << "\"ThreadDebuggerID\" : " << (*itr)->GetID() << ", \"CallStack\" : " << stream.str() << "}";
nbrCallstacksWritten++;
}
@ -73,7 +73,7 @@ void CDebuggingServer::GetStackFrameData(std::stringstream& response, uint nesti
(*itr)->GetStackFrameData(stream, nestingLevel, stackInfoKind);
if ((int)stream.tellp() != 0)
{
response << stream;
response << stream.str();
}
}
}