LuaMemorySnapshotDump icon indicating copy to clipboard operation
LuaMemorySnapshotDump copied to clipboard

MemoryReferenceInfo.lua:261: attempt to concatenate 'string' and 'struct 178 *'

Open SzymonKlimuk opened this issue 6 years ago • 0 comments

Hello,

While trying to use your tool, I was getting the following error:

MemoryReferenceInfo.lua:261: attempt to concatenate 'string' and 'struct 178 *'

and sometimes

MemoryReferenceInfo.lua:261: attempt to concatenate 'string' and 'void *'

I fixed it by changing this line #261 from:

CollectObjectReferenceInMemory(strName .. "." .. k, v, cDumpInfoContainer)

to

CollectObjectReferenceInMemory(strName .. "." .. type(k), v, cDumpInfoContainer)

SzymonKlimuk avatar Dec 19 '19 11:12 SzymonKlimuk