[Gambas-user] Feature Request; Debugger

Gareth Bult gareth at ...1689...
Wed May 30 12:56:31 CEST 2007


Sure,

However I re-use functions (a lot).
I would need (for example) about 20 breakpoints to cover "getToken" in the application I'm working on at this particular point in time. It would make a deal of sense to be able to cover the function once, rather than having to maintain 20 breakpoints.. (?)

Gareth.

--
Gareth Bult, Encryptec Limited
Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657
Email: gareth at ...1689... 
Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request.

----- Original Message -----
From: "ron" <ronstk at ...239...>
To: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
Sent: Wednesday, May 30, 2007 11:30:16 AM (GMT) Europe/London
Subject: Re: [Gambas-user] Feature Request; Debugger

On Wednesday 30 May 2007 12:11, Gareth Bult wrote:
> Hi, 
> 
> Would it be easy / possible to mark certain subroutines / procedures as "don't descend" with regards to the debugger? 
> 
> Once a function has been tested to death, there's often no point in line stepping through that routine when debugging an application. 
> For example, if you have a tokeniser (getToken()) that s never going to throw an error, but cycles through 50 lines of code, it would be really nice to be able to mark the routine as "finished" and have the debugger automatically step over this routine when debugging. 
> 
> .. just a thought .. :-) 
> 
> Gareth. 
> 

Is it posible to put a breakpoint after the call to subroutines and continue
inside the subroutines till it is returnd.

This does remember me zdebug, the debugger from the 'EditAssembler+' on the trs80.
Here you could give a count on a breakpoint to come in affect at the Nthe times
the breakpoint is hit. (This was a MS application :)  ) 
This way it could have a count of i.e. 48 and you could step the last part to
verify the subroutine returns the good way/value or detect the problem at return.


Ron

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list