I'm using Delphi 7 , i dont know what is profiler :( and how to use it .
while debugging i felt .. when i step from first line of fucntion that is 
Begin
to the next like 

TotalRec:= Result_Recordset.RecordCount;
......
 i dont think line TotalRec:= Result_Recordset.RecordCount;               is 
having any problem , 'coz i 've checked by changing order of lines , its taking 
same same ...

well , Result_Recordset is global variable in my EXE .. which is having 
thoousand of rows with round about 150 columns

Thnx for response sir .
Saurabh rai.








  ----- Original Message ----- 
  From: Totoliciu Denis Dan 
  To: [email protected] 
  Sent: Monday, September 24, 2007 12:33
  Subject: Re: [delphi-en] pls suggest !


  When does it take too much time?
  Is it when you are jumping in with the debugger?
  Or is it when the program executes?
  What version of Delphi are you using?

  It would be nice if you had a profiler to see the
  timing.
  I worked at a big project and I experienced great
  delays when I was debugging something that looked like
  your example:

  --- Saurabh Rai <[EMAIL PROTECTED]> wrote:

  > HI all , 
  > Please have a look
  > 
  > procedure TFM_XYZ.ABC(Var
  > curSchedulingRecPtr:PSchedulingRec (Pointer to
  > Record ); CurRecNo : Integer);
  > Var
  > VarI , VarJ , TotalRec: Integer ;
  > begin
  > 
  > TotalRec:= Result_Recordset.RecordCount;
  > //Result_Recordset _Recordset Type global variable 
  > Result_Recordset.MoveFirst;
  > .................................
  > 
  > End;
  > 
  > while debugging code i realized that its taking too
  > much time navigating from 
  > Begin to next line i.e. 
  > TotalRec:= Result_Recordset.RecordCount;
  > 
  > Dont have any idea .. pls
  >
  suggest.----------------------------------------------------------
  > Summit Information Technologies Limited, Gurgaon,
  > India
  > 
  > 
  > [Non-text portions of this message have been
  > removed]
  > 
  > 

  __________________________________________________________
  Luggage? GPS? Comic books? 
  Check out fitting gifts for grads at Yahoo! Search
  http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz


  -------------------------------------------------------
Summit Information Technologies Limited, Gurgaon, India


[Non-text portions of this message have been removed]

Reply via email to