We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 033def7 + 785f9b1 commit 589c527Copy full SHA for 589c527
commands/FBDebugCommands.py
@@ -32,7 +32,7 @@ def run(self, arguments, options):
32
objectAddress = int(fb.evaluateObjectExpression(commandForObject), 0)
33
34
ivarOffsetCommand = '(ptrdiff_t)ivar_getOffset((void*)object_getInstanceVariable((id){}, "{}", 0))'.format(objectAddress, ivarName)
35
- ivarOffset = fb.evaluateIntegerExpression(ivarOffsetCommand)
+ ivarOffset = int(fb.evaluateExpression(ivarOffsetCommand), 0)
36
37
# A multi-statement command allows for variables scoped to the command, not permanent in the session like $variables.
38
ivarSizeCommand = ('unsigned int size = 0;'
0 commit comments