4

How to see NSLog or any plain printf output with Apportable? I run my program with apportable debug and run the gdb, but there's no output.

Charles
  • 50,943
  • 13
  • 104
  • 142
eonil
  • 83,476
  • 81
  • 317
  • 516

3 Answers3

5

NSLog and printf are piped to the android logging system. So in order to see your messages; invoke adb logcat. That will allow you to see logging.

2

I'm using apportable log | grep NSLog, it's shows only NSLog's.

Volodymyr B.
  • 3,369
  • 2
  • 30
  • 48
0

Open two terminal windows. Type apportable log | grep AppName on one of them. Then just do apportable debug on the other one.

baris
  • 304
  • 2
  • 14