Re: [Gambas-user] a Debug question

2009-05-18 Thread Benoît Minisini
Benoît Minisini ha scritto: If one puts in a breakpoint, and is stepping through the code one line at a time to check values of variables etc, is there any way or re-setting to a line in the same subroutine prior to the current line you have stopped on. I've found sometimes I'm

Re: [Gambas-user] a Debug question

2009-05-04 Thread Jussi Lahtinen
It would be nice to have something like; DEBUG BEGIN 'Between these instructions is debug code. And it is excluded when compiled, just like DEBUG instruction now. DEBUG END Jussi On Sun, May 3, 2009 at 20:00, Doriano Blengino doriano.bleng...@fastwebnet.it wrote: Sergio A. Hernandez ha

Re: [Gambas-user] a Debug question

2009-05-03 Thread Sergio A. Hernandez
Doriano, From my experience programming under languages that don't have any debugger at all like PHP-LAMP, the best thing to do in these cases is to create a debug subclass with a constructor that fills out all the data on a large form (however you want, with static or random data). That way you

Re: [Gambas-user] a Debug question

2009-05-03 Thread Doriano Blengino
Sergio A. Hernandez ha scritto: Doriano, From my experience programming under languages that don't have any debugger at all like PHP-LAMP, the best thing to do in these cases is to create a debug subclass with a constructor that fills out all the data on a large form (however you want, with

Re: [Gambas-user] a Debug question

2009-05-02 Thread Doriano Blengino
Benoît Minisini ha scritto: If one puts in a breakpoint, and is stepping through the code one line at a time to check values of variables etc, is there any way or re-setting to a line in the same subroutine prior to the current line you have stopped on. I've found sometimes I'm trying to

Re: [Gambas-user] a Debug question

2009-05-02 Thread Sergio A. Hernandez
My recommendation is you to print the values on the console to track them at run-time, I prefer to use this technique more than use the integrated debugger, since you can follow up the overall outcome without start/stops. Some people don't like it, but I find it very useful. On Fri, May 1, 2009

[Gambas-user] a Debug question

2009-05-01 Thread richard terry
If one puts in a breakpoint, and is stepping through the code one line at a time to check values of variables etc, is there any way or re-setting to a line in the same subroutine prior to the current line you have stopped on. I've found sometimes I'm trying to find a bug, and I put in

Re: [Gambas-user] a Debug question

2009-05-01 Thread Benoît Minisini
If one puts in a breakpoint, and is stepping through the code one line at a time to check values of variables etc, is there any way or re-setting to a line in the same subroutine prior to the current line you have stopped on. I've found sometimes I'm trying to find a bug, and I put in