Skip to content

Commit

Permalink
Merge pull request #117 from idrisr/master
Browse files Browse the repository at this point in the history
Use base10 value for ivarOffset to be consistent with other values used
  • Loading branch information
arigrant committed Oct 12, 2015
2 parents 033def7 + 785f9b1 commit 589c527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/FBDebugCommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def run(self, arguments, options):
objectAddress = int(fb.evaluateObjectExpression(commandForObject), 0)

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

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

0 comments on commit 589c527

Please sign in to comment.