HotShoe Well-Known Member Licensed User Longtime User Jul 23, 2014 #1 In my normal IDE's for C and Delphi, I can step through the code a line at a time while debugging with the F8 key. In this mode the IDE skips any procedures or functions without stepping through those as well. The F7 Step into mode lets me go line by line including the other subs. B4A's step always goes through all subs while stepping. I would love to see the other option implemented as well so I don't have to go through every sub each time. --- Jem
In my normal IDE's for C and Delphi, I can step through the code a line at a time while debugging with the F8 key. In this mode the IDE skips any procedures or functions without stepping through those as well. The F7 Step into mode lets me go line by line including the other subs. B4A's step always goes through all subs while stepping. I would love to see the other option implemented as well so I don't have to go through every sub each time. --- Jem
thedesolatesoul Expert Licensed User Longtime User Jul 23, 2014 #2 Just to clarify, HotShoe wants to F7 through the current stack level and not go another level below. So he can focus on debugging that particular level. (So that you dont need to toggle between F7 and F9)
Just to clarify, HotShoe wants to F7 through the current stack level and not go another level below. So he can focus on debugging that particular level. (So that you dont need to toggle between F7 and F9)
HotShoe Well-Known Member Licensed User Longtime User Jul 23, 2014 #3 Right, I want to stay in the current sub. It should still execute that sub, but not take me into that sub. --- Jem
Right, I want to stay in the current sub. It should still execute that sub, but not take me into that sub. --- Jem
Erel B4X founder Staff member Licensed User Longtime User Jul 24, 2014 #4 How is that different than Step Over option:
HotShoe Well-Known Member Licensed User Longtime User Jul 24, 2014 #5 Actually, it isn't. I didn't know that option existed until just now. I tried it and it is exactly what I wanted to do. I guess I should take more time to learn my tools hehe. Thanks, --- Jem
Actually, it isn't. I didn't know that option existed until just now. I tried it and it is exactly what I wanted to do. I guess I should take more time to learn my tools hehe. Thanks, --- Jem
ivan.tellez Active Member Licensed User Longtime User Aug 6, 2014 #6 Erel said: How is that different than Step Over option: Click to expand... Hi Erel. Thats right, the option its there, actually B4A has a great debuger. I think the problem its the inteface. As HotShoe stated, he expected to see the options as in other IDEs. I think most people preffer using a button rather than keys or menus. It would be wonderful if you can add The Step Over and Step Out as buttons in the debug toolbar. Maybe also rename "Step" to "Step In" to clarify its behavior. Thanks Attachments stepping.png 9.7 KB · Views: 491
Erel said: How is that different than Step Over option: Click to expand... Hi Erel. Thats right, the option its there, actually B4A has a great debuger. I think the problem its the inteface. As HotShoe stated, he expected to see the options as in other IDEs. I think most people preffer using a button rather than keys or menus. It would be wonderful if you can add The Step Over and Step Out as buttons in the debug toolbar. Maybe also rename "Step" to "Step In" to clarify its behavior. Thanks
Peter Simpson Expert Licensed User Longtime User Nov 19, 2014 #7 @ivan.tellez that's an excellent suggestion IMO.