Commit cafd4a46 authored by David Schulz's avatar David Schulz
Browse files

Debugger: Make readRawMemory exception more detailed



Change-Id: Ibb9b42b05921cf8f797da3d3e2967a8842bf38c0
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent 18065312
......@@ -410,7 +410,7 @@ class Dumper(DumperBase):
def readRawMemory(self, address, size):
mem = cdbext.readRawMemory(address, size)
if len(mem) != size:
raise Exception("Invalid memory request")
raise Exception("Invalid memory request: %d bytes from 0x%x" % (size, address))
return mem
def findStaticMetaObject(self, type):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment