[Gambas-user] Feature Request; Debugger

Gareth Bult gareth at ...1689...
Thu May 31 16:08:56 CEST 2007


Mmm, a lazy-guy feature eh ?

Could be .. or it could be a possible unique feature / selling point for professional application programmers ... ?

I'll try to clarify;

When developing an application with many '000's of functions and procedures, it would be nice to mark certain routines as "production" (for examples) and have the debugger not descend into them by default.

This could make your F8 debugging loop a fraction of the code you might otherwise step through.

Shift-F8 is great, but if you want to iterate through 200 lines of code, all of which might be a mixture of calls you want to descend into and calls you're happy with, having to decide which key combo to use 200 times it a bit of a headache, esp. when you end up descending into one you don't want then having to trace 1000 lines just to get out of it again.

..
Anyway, just a thought .. very useful for applications that require lots of debugging, typically anything that connects to an internet server through an iffy protocol like IMAP .. ;-)

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: "Benoit Minisini" <gambas at ...1...>
To: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
Sent: Thursday, May 31, 2007 1:36:17 PM (GMT) Europe/London
Subject: Re: [Gambas-user] Feature Request; Debugger

On mercredi 30 mai 2007, 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.

I don't understand: if you don't want to trace a function, you just have to 
use 'Forward' (SHIFT-F8) instead of 'Step-by-step' (F8) when it is called. Is 
it a "lazy-guy" feature? :-)

-- 
Benoit Minisini

-------------------------------------------------------------------------
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