🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.rtl.general
3 messages
3 total messages Started by Tanju �ZG�R Sat, 24 Dec 2005 08:07
Variables values (Debugging)
#271
Author: Tanju �ZG�R
Date: Sat, 24 Dec 2005 08:07
13 lines
1300 bytes
Hi folk !

  I have "for .... begin " loop  in which, I have many variables. To monitor
them I use watch list and debug the application step by step ,but this way
is very troublesome and annoying for me.

  Is there any easy way like:

  Specifiying which variables you want to moniter and run the application
normally.As a result having these variables printed in the text file for
each loop number.

Thnx!!
Re: Variables values (Debugging)
#272
Author: Kurt Barthelmess [TeamB]
Date: Sat, 24 Dec 2005 11:59
19 lines
1510 bytes
"Tanju �ZG�R" <tanjuozgur@yahoo.com> wrote:

>  I have "for .... begin " loop  in which, I have many variables. To monitor
>them I use watch list and debug the application step by step ,but this way
>is very troublesome and annoying for me.
>
>  Is there any easy way like:
>
>  Specifiying which variables you want to moniter and run the application
>normally.As a result having these variables printed in the text file for
>each loop number.

Not as a feature of the debugger. You can add some code to the app to
write those values to a text file or to the event log using
OutputDebugString.

Good luck.

Kurt
Re: Variables values (Debugging)
#185
Author: Yannis
Date: Thu, 02 Feb 2006 08:46
34 lines
1982 bytes
"Tanju �ZG�R" <tanjuozgur@yahoo.com> wrote in
news:43ad015e$1@newsgroups.borland.com: 

> Hi folk !
> 
>   I have "for .... begin " loop  in which, I have many variables. To
>   monitor 
> them I use watch list and debug the application step by step ,but this
> way is very troublesome and annoying for me.
> 
>   Is there any easy way like:
> 
>   Specifiying which variables you want to moniter and run the
>   application 
> normally.As a result having these variables printed in the text file
> for each loop number.
> 
> Thnx!!
> 
> 
> 

place a number of non breaking break points which evaluate your variables
(one break point for each variable) and take a look on your event log 
window at run time.

In order to see what I am talking about place a break point anywhere in 
your code and then press CTRL+ALT+B on the break point list window select
your break point, then press CTRL+E and click on advanced.
(All the above have been verified with D6 and D7) I am not sure about D2005 
or D2006.)

Regards
Yannis.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads