I'm trying to use the debugger. I really can't figure how to work correctly. Is it buggy?
problems faced:
1) when I set a breakpoint, sometimes it will stop on it, sometimes not. Is there some condition that says where a breakpoint will be respected or no? concrete example: (in a alloy controller, and yes I know I have to debug the files in resources folder at this time)
function foo(event) { //do something... I put a breakpoint here }
$.whatever.addEventListener('singletap', foo)In this case it never stops at "do something".
2) when I remove a breakpoint, even when I rebuild the app, the breakpoint seems to be in Neverland and the debugger will stop on it. The funny thing is that if you work with alloy it's even worst because this "imaginary not removed breakpoint" will be at another line of code most of the time.
3) when the debugger does stop on the breakpoint I've set, I don't really know where it has stopped, before the call of statement, after? I can only guess when I inspect the variables state at this time and does a "step into"
4) when debugging on device (in my case an HTC sensation with android 4.0.3) There are various consoles available. one is "app appname on device" so I expect to see all the output of my app in there. Like a Ti.API.info(...)... well nothing appears there. I have to watch at the device console which is outputing 10000 messages per second (system, other apps, etc.) , I can't work like that. How can I see only what I want?
5) when I try to debug a response from an API or the data passed in an event, I sometimes get very very long strings responses. The problem is that the debugger does not show the whole string but is limited to ?? characters. It's just impossible to look at it easily.
There are more problems but these are the most annoying ones at this time. Any help greatly appreciated.