1 | #import <Foundation/Foundation.h> |
---|---|
2 | |
3 | int main() { |
4 | NSDictionary* dic = @{@1 : @2}; |
5 | NSLog(@"hello world"); //% dic = self.frame().FindVariable("dic") |
6 | //% dic.SetPreferSyntheticValue(True) |
7 | //% dic.SetPreferDynamicValue(lldb.eDynamicCanRunTarget) |
8 | //% dic.SetValueFromCString("12") |
9 | return 0; //% dic = self.frame().FindVariable("dic") |
10 | //% self.assertTrue(dic.GetValueAsUnsigned() == 0xC, "failed to read what I wrote") |
11 | } |
12 |