On Thu, 22 Apr 2010, Teo Fonrouge wrote:

Hi,

> When using the debugger and having objects with destructors,
> sometimes when the AltD() function is executed and the program
> execution is paused the destructor code is not called until the first
> InKey( 0 ) call is issued and causing  the execution of the destructor
> code right after entering the debugger.
> The workaround is to have:
>   HB_GCAll() ; AltD()
> Can we have HB_GCAll() inside AltD() by default ?

It will not resolve the problem because commands execute inside
debugger may also activate GC and PRG destructor code compiled
with -b harbour compiler flag.
In general I do not see big problem with current behavior and
your proposition may badly interact with debugging destructor
code though I haven't analyzed it deeply.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to