cregox
cregox

Reputation: 18390

Step by step iphone debugging on xcode shows nothing on screen

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

Upvotes: 0

Views: 317

Answers (2)

kevboh
kevboh

Reputation: 5245

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.

Upvotes: 1

Francois
Francois

Reputation: 10968

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.

Upvotes: 1

Related Questions