You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@rohan-mehta seeded this idea. When a variable is const, lldb will respect that and prevent assignment to the variable. Perhaps we could add a chisel convenience command that does this for the user:
(lldb) e CGFloat *p = (CGFloat *)&constVariable; *p = 1.0
The text was updated successfully, but these errors were encountered:
>>>> lldb >>>> e
Enter expressions, then terminate with an empty line to evaluate:
1: CGFloat *p = (CGFloat *)&constVariable
2: *p = 1.0
3:
error: use of undeclared identifier 'constVariable'
If you wanted to reassign labelWidth in lldb, you could use the above statement, except with labelWidth instead of constVariable. Note however, we tried this with x86, but not x86-64, or on arm.
@rohan-mehta seeded this idea. When a variable is
const
, lldb will respect that and prevent assignment to the variable. Perhaps we could add a chisel convenience command that does this for the user:The text was updated successfully, but these errors were encountered: