Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use base10 value for ivarOffset to be consistent with other values used #117

Merged
merged 1 commit into from
Oct 12, 2015
Merged

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