Fix V8 heap snapshot in profiler service
authorMikko Harju <mikko.a.harju@nokia.com>
Wed, 12 Oct 2011 06:41:10 +0000 (09:41 +0300)
committerQt by Nokia <qt-info@nokia.com>
Wed, 12 Oct 2011 11:43:04 +0000 (13:43 +0200)
commitbdc94b43a90d003755255c59d94569b4a79c1126
tree9cc5bc3e3ef8cf8bd424c9b0a8db9c3fce18978d
parente296dbcf5dc70a102b5e865277e52ba550619f0f
Fix V8 heap snapshot in profiler service

Fixes the message parsing (use the option also for heap snapshot
commands).

Do not directly serialize the snapshot to the QByteArray under
QDataStream.

Change-Id: I3ad15a2debd6c2f912854610b6434744e0acd788
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
src/declarative/debugger/qv8profilerservice.cpp