W wl Well-Known Member Licensed User Longtime User Jul 5, 2012 #1 I run my app in "Debug mode" and put my breakpoint on the ToastMessageShow statement. The application stops showing "Program paused on line: 120 ToastMessageShow ...": in the debugging pane nothing is to be seen and when I try to continue the app: nothing happens... I tried both connecting through ADB and the bridge: same thing happens. Code: Copy Sub btnSave_Click Dim foo As List Dim tmp As Int tmp = 1973 foo = GetFilterItemsFromScreen ToastMessageShow("Saved", True) 'TODO End Sub Thanks
I run my app in "Debug mode" and put my breakpoint on the ToastMessageShow statement. The application stops showing "Program paused on line: 120 ToastMessageShow ...": in the debugging pane nothing is to be seen and when I try to continue the app: nothing happens... I tried both connecting through ADB and the bridge: same thing happens. Code: Copy Sub btnSave_Click Dim foo As List Dim tmp As Int tmp = 1973 foo = GetFilterItemsFromScreen ToastMessageShow("Saved", True) 'TODO End Sub Thanks
margret Well-Known Member Licensed User Longtime User Jul 5, 2012 #2 The toastmessage box is passed to the OS and the OS handles the message, this may be the reason your app stops. Break the line before or after the toastmessage to see the values at that point. Upvote 0
The toastmessage box is passed to the OS and the OS handles the message, this may be the reason your app stops. Break the line before or after the toastmessage to see the values at that point.
W wl Well-Known Member Licensed User Longtime User Jul 6, 2012 #3 Thanks but this does not seem the problem. If I put the breakpoint on the first statement I have the same problem. A breakpoint in another method dioes seem to work. Strange ... Upvote 0
Thanks but this does not seem the problem. If I put the breakpoint on the first statement I have the same problem. A breakpoint in another method dioes seem to work. Strange ...
W wl Well-Known Member Licensed User Longtime User Jul 6, 2012 #4 I have the same problem in each event handler, except (in the same code file) in the Activity_Create event: there I can put a breakpoint and step through it all... All other event will just break and there is no way to see the debugging info, nor continue the application. Upvote 0
I have the same problem in each event handler, except (in the same code file) in the Activity_Create event: there I can put a breakpoint and step through it all... All other event will just break and there is no way to see the debugging info, nor continue the application.
W wl Well-Known Member Licensed User Longtime User Jul 6, 2012 #5 Removed the SDK, Java and B4A and reinstalled them all... Same problem When reaching a breakpoint there seems no way to resume the application etc, see debug info etc ... This happens not always but most of the time. Upvote 0
Removed the SDK, Java and B4A and reinstalled them all... Same problem When reaching a breakpoint there seems no way to resume the application etc, see debug info etc ... This happens not always but most of the time.
W wl Well-Known Member Licensed User Longtime User Jul 6, 2012 #6 Hi, No one experience the same problem ? Erel ? It's quite annoying not being able to debug my app... Tx Wim Upvote 0
Hi, No one experience the same problem ? Erel ? It's quite annoying not being able to debug my app... Tx Wim
Erel B4X founder Staff member Licensed User Longtime User Jul 8, 2012 #7 Is this the same issue you posted in the other thread? Upvote 0