Page 1 of 1
How can i see the dump messages on the output window ?
Posted: 21 May 2013, 13:11
by scofy
How can i see the dump messages on the output window of VS2010,just like XCode dump message.
Code: Select all
2013-05-21 20:13:44.706 iGame[4900:c07] onDebugMessage
2013-05-21 20:13:44.707 iGame[4900:c07] [SFS - INFO]{ Message id: 13 }
{Dump: }
(utf_string) c: sys.getbuff
(sfs_object) p:
(bool) repu: 0
(bool) shop: 0
(bool) exp: 0
(bool) iap: 0
Re: How can i see the dump messages on the output window ?
Posted: 23 May 2013, 06:01
by MBagnati
We will send you a couple of updated files: SFSArray.cpp and SFSObject.cpp
Please update your API with these files.
After that you can print SFS objects into VisualStudio in this way:
Code: Select all
string* dump = params->GetDump();
#ifdef UNICODE
wstring unicodeDump = wstring(dump->begin(), dump->end());
OutputDebugString(unicodeDump.c_str());
OutputDebugString(L"\n");
#else
OutputDebugString(dump->c_str());
OutputDebugString("\n");
#endif
where params has been declared as
SFSObject* params
Updated files will be included into next API version.
Re: How can i see the dump messages on the output window ?
Posted: 28 May 2013, 14:34
by bqlf1907
updated files: SFSArray.cpp and SFSObject.cpp
Output SFSObject contains Basic data types is normal;
but OutPut SFSObject contains many objects(SFSArray,SFSObject and so on);
error on
Out Put "Run-Time Check Failure #3 - The variable 'type' is being used without being initialized."
Re: How can i see the dump messages on the output window ?
Posted: 29 May 2013, 09:17
by MBagnati
We have sent you by email a couple of updated files to solve the problem.
Please update your API with these files and try again.
Updated files will be included into next API version.
Please give me a feedback about the resolution of the item.
Thanks for your collaboration
Re: How can i see the dump messages on the output window ?
Posted: 29 May 2013, 15:24
by bqlf1907
i updated files.
but it not work too,
error on
Re: How can i see the dump messages on the output window ?
Posted: 03 Jun 2013, 05:59
by MBagnati
i'll try again to investigate the issue