I'm debugging an app (app2) that is called with an exitTo() from app1. The debugger only shows the output from app1, but I need to debug app2 when run in the Sim. I have searched my file system for app2.txt unsuccessfully.
As mentioned before, sometimes the sim "disconnects" from the Eclipse console. One case is when you select "Reset App Data" and it looks like you found another.
To work around this issue: 1) Open simulator GARMIN folder in your temp folder 2) Open APPS/LOGS 3) Create an empty file named App2.TXT
Hopefully it should work just like the real device.
(Suitably admonished, but to be fair, the context was different and it was before the memory sapping joys of Christmas!)
Now that I have tried it, I can confirm it doesn't work: nothing written to the log files. There may be an interesting twist here. If my app is named App1 it loads on the device as "App1.prg" and writes a log file called "App1.txt" which becomes "APP1.TXT" when it fills and creates "APP1.BAK".
On the Mac, the app is created as "APP1.PRG", so I wonder if it would be important to get the same case for the log file if and when the d]facility becomes available?
The twist is this and has to do with the filesystem on the watch:
On some device, the file names are not case sensitive. APP1.PRG can log to App1.txt but will switch to APP1.TXT. And "thisismyapp.prg" with start using an 8.3 format when log files switch.
On Music devices, they are case sensitive, and long file names are used.