Skip to content

Commit 589c527

Browse files
committed
Merge pull request #117 from idrisr/master
Use base10 value for ivarOffset to be consistent with other values used
2 parents 033def7 + 785f9b1 commit 589c527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/FBDebugCommands.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def run(self, arguments, options):
3232
objectAddress = int(fb.evaluateObjectExpression(commandForObject), 0)
3333

3434
ivarOffsetCommand = '(ptrdiff_t)ivar_getOffset((void*)object_getInstanceVariable((id){}, "{}", 0))'.format(objectAddress, ivarName)
35-
ivarOffset = fb.evaluateIntegerExpression(ivarOffsetCommand)
35+
ivarOffset = int(fb.evaluateExpression(ivarOffsetCommand), 0)
3636

3737
# A multi-statement command allows for variables scoped to the command, not permanent in the session like $variables.
3838
ivarSizeCommand = ('unsigned int size = 0;'

0 commit comments

Comments
 (0)