12-14-2012 10:07 AM
I used to get the slog2info output via ssh for debugging. Unfortunately that stopped working for me. When I connect via ssh to my dev alpha device and do a "slog2info -w" the screen stays blank. Is there a way to reinitialize that service ? Restarting the device did not help. Did anyone else experiencing this behavior ?
12-14-2012 10:24 AM
12-14-2012 12:36 PM
slog2info is not working with normal ssh I think it may be problem with your debug token that contain certificate key
but it is working with Eclipse IDE when you have valid debug token set. Then you have to select Blackberry SSH option with in Terminal window
12-14-2012 02:38 PM
I build my app using the "device-debug" profile and invoke it via the "debug as" dialog. I use "Launch SSH Session" in Eclipse's Target Navigator and the debug token is valid, but still have no output. When I register a a message handler using qInstallMsgHandler I get but some output in the console, but no JS console.logs from my QML- files.
12-14-2012 02:57 PM
12-14-2012 03:23 PM
Thx, for your replies! I just created a new target and opened up the device log. I get some INFOs, NOTICEs and WARNINGs, but not a single qt-message at all. Still can't read my JS console.logs...do I have to enable qt-messages manually somehow ?
12-14-2012 03:54 PM
12-14-2012 10:37 PM - edited 12-15-2012 12:04 AM
i'm gonna make a guess at this:
if you converted your project to the gold release, it might be related to the following config of your .pro file:
beta4:
CONFIG += qt warn_on debug_and_release cascades
gold:
CONFIG += qt warn_on cascades10
just a guess....haven't tested this mysef! (im using the qInstallMsgHandler and haven't had any issue with my logs)
Edit: i was wrong: just tested this...logs work fine with ssh slog2info with or without the debug_and_release config in ,pro file
12-15-2012 03:06 PM
I selected my app within the "DeviceLog"- dialog (BufferSet) but get no messages from the qml files. I created a new empty standart cascades project just for testing purposes and get the same result... something seems to be really messed up
12-17-2012 01:58 PM
have still made no progress on that ... do you guys think it might be helpfull to reset / wipe the device and do a clean install ? It's strange that just the messages from QML files (qt-msg) seem to be missing