10-13-2012 11:59 AM
hi, i use console.log in my QML application to make some debugging.
the problem is, what i cant see any output.
i have set the build conf. to device-debug and i'm also running the debug
then i look in the console windows, and see nothing.
Solved! Go to Solution.
10-13-2012 01:16 PM
10-13-2012 01:17 PM
I have no idea why RIM disabled the in-IDE console but from this page:
https://developer.blackberry.com/cascades/download
1. In the IDE, in the Target Navigator view, right-click the device target. Click Launch SSH Session.
2. In the terminal that appears, do one of the following:
a. To view the current slogger2 logs, type slog2info.
b. To view real-time output for the processes that are being debugged (for applications that are running in development mode), type slog2info -w.
c. To view help information on slogger2, type slog2info -h.
You can also access the log files directly in the /tmp/slogger22 on the device and run these logs through slog2info at a later time.
It shows all logs, even console.log() entries from Javascript.
Staff UI Prototyper (read: full-time hacker)
My BB10 apps: Screamager | Scientific RPN Calculator | The Last Weather App
10-15-2012 01:46 AM
Check this link for a nice simple alternative to slog2info - and then having to parse the file.
10-15-2012 01:48 AM