H harlechguy Member Licensed User Longtime User Mar 3, 2012 #1 Hi there I am trying to understand how the treeview example works as posted by Derez - any attempts I make at debugging (using either log or toastmessageshow) result in crashing out. Specifically I have not understood how how the btn_click event knows which node it is related to e.g if my root has ten items and the fourth item is expandable how is the data passed that says to the btn_click event that it is the fourth item? Probably missing something very simple but any help appreciated thanks
Hi there I am trying to understand how the treeview example works as posted by Derez - any attempts I make at debugging (using either log or toastmessageshow) result in crashing out. Specifically I have not understood how how the btn_click event knows which node it is related to e.g if my root has ten items and the fourth item is expandable how is the data passed that says to the btn_click event that it is the fourth item? Probably missing something very simple but any help appreciated thanks
Erel B4X founder Staff member Licensed User Longtime User Mar 3, 2012 #2 You should check the logs and the find the full error message. It help you debug these crashes. Upvote 0
H harlechguy Member Licensed User Longtime User Mar 3, 2012 #3 Thanks Erel, am following the logs and making some progress - what I am experiencing is the system crashing at break points in debug mode. Is this what is supposed to happen? thanks Upvote 0
Thanks Erel, am following the logs and making some progress - what I am experiencing is the system crashing at break points in debug mode. Is this what is supposed to happen? thanks
margret Well-Known Member Licensed User Longtime User Mar 4, 2012 #4 No, the system should not crash. At the break points, it should just pause and show the global and local variables until you continue. Upvote 0
No, the system should not crash. At the break points, it should just pause and show the global and local variables until you continue.