如何在断点处查看XCode(汇编代码等效)?
我已经进入Thread1,它显示了[ViewController viewDidLoad]的Objective-C,然后是[UIViewController view]和[UIWindow makeKeyAndVisible]的汇编。 我希望能够看到[ViewController viewDidLoad]的汇编,并且在断点处看到标记。
(Product-> GenerateOutput-> Generate Assembly File:不显示断点。)
谢谢
void addme(int *a)
{
*a += 0xFF;// <-- I want to see the assembly for this: should see an instruction "ADD" in the assembly break down
*a += 1;
*a += 2;
}
- (void)viewDidLoad
{
[super viewDidLoad];
int a = 12;
addme(&a);
}
disass *$pc
。 - nielsbot