Commits

spencercw committed 38376ea

Fix broken logic when handling floating point values in the debugger.

Comments (0)

Files changed (1)

gb_debugger_msvs/properties/variable_property.cpp

 		switch (variable->addressSpace)
 		{
 		case CdbFile::INTERNAL_STACK:
-			assert(size == 4);
+			assert(variable->type->size == 4);
+			size = 4;
 			gbd->memRead(static_cast<uint16_t>(frame->stackAddrMax + variable->stackOffset), 4,
 				reinterpret_cast<uint8_t *>(&value));
 			return true;