开发者

Step by step iphone debugging on xcode shows nothing on screen

开发者 https://www.devze.com 2023-01-26 03:05 出处:网络
I realize it doesn\'t work because it needs to print on the screen, but... Is there anyway and/or a good simple way to actually just press \"step over\" or \"step into\" and开发者_如何学编程 see the

I realize it doesn't work because it needs to print on the screen, but...

Is there anyway and/or a good simple way to actually just press "step over" or "step into" and开发者_如何学编程 see the command output on the device/simulator screen?

I want to keep pressing it and be able to see what every step do on the screen as quick as possible, if that's even a possibility for iphone debugging.

I hope while short this question still is pretty clear and not a duplicate! :P


Sometimes the iPhone simulator UI is not refreshed immediately. The UI framework don't update the screen at each instruction. You can try a manual [myView setNeedDisplay:YES] (or something like that) after each step.


You could also look at CFRunLoop to try and force UI updates in different runloops, although that is about the extent of my understanding of the API.

0

精彩评论

暂无评论...
验证码 换一张
取 消