Skip to content

Conversation

@idrisr
Copy link
Contributor

@idrisr idrisr commented Oct 11, 2015

in calculating memory address of watchpoint.

When running this line watchpoint = lldb.debugger.GetSelectedTarget().WatchAddress(objectAddress + ivarOffset, ivarSize, False, True, error)

objectAddress and ivarSize are in base10, while ivarOffset is in hex after returning from fb.evaluateIntegerExpression.

This fixes that issue and now the memory address of the watchpoint is being set correctly.

@idrisr idrisr mentioned this pull request Oct 11, 2015
arigrant added a commit that referenced this pull request Oct 12, 2015
Use base10 value for ivarOffset to be consistent with other values used
@arigrant arigrant merged commit 589c527 into facebook:master Oct 12, 2015
@kastiglione
Copy link
Contributor

✨ thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants