Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: mk sharma
  Where is mk sharma?
 mumbai
 India
 mk sharma
 To: Madan Mohan_DELHI
  Where is Madan Mohan_DELHI?
 Delhi
 India
 Madan Mohan_DELHI
 Tags
Subject: RE: Debugger
Thread ID: 330922 Message ID: 330981 # Views: 38 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Errors & Debugging
Date: Sunday, December 25, 2011 11:07:04 AM         
   


> > Hi Everyone,
> >
> >
> > I have an application developed in Visual FoxPro 9.0 recently installed on my system which is running fine with no errors. I have to do Analysis for this application.
> >
> > Issue: I stuck somewhere as I have to figure it out what conditions and tables populating the grid.
> >
> > Limitation: First time, I tried using Debug and press F8 for each line of code which is very much time consuming.
> >
> > Is this the right to start debugging with Debug - Do... with Prg file?
> >
> > Is there any option which I need to set so that I don't need to press F8 for each line of code?
> >
> > Please help me. I need to learn about Debugging an application. Also, request you if I can be referred to URL or debug learning document.
> >
> > Look forward to hearing from you.
> >
> > Regards,
> > Madan
>
>
> Dear All,
>
> Wish you Merry Christmas!
>
> I am close to success and Thank you very much for your response and guidance.
> I came across another issue and seems if resolved then life will be easy then.
>
> My project folder directory is C:\MSS and under this folder, the following folders exist and mentioning some of them.
>
>
> C:\MSS\Programs
> C:\MSS\DBMS
> C:\MSS\Forms
> C:\MSS\Reports
> C:\MSS\Libs
> C:\MSS\Menus
> C:\MSS\Reports
>
> etc etc
>
> Main .prg file exists into C:\MSS
>
>
> I have a small prg called sspath.prg which I run before I start Debug and the content of the sspath.prg is following...
>
> *Begin sspath.prg
>
> SET SYSMENU TO default
> SET DEFAULT TO c:\MSS
> SET ESCAPE ON
> SET TRBETWEEN ON
> SET PATH TO C:\MSS, c:\MSS\dbms, c:\MSS\forms, c:\MSS\images, c:\MSS\libs, c:\MSS\loaddd, c:\MSS\maps, c:\MSS\menus, c:\MSS\problems, c:\MSS\programs, c:\MSS\reports, c:\MSS\scripts, c:\MSS\transfer, c:\MSS\update, c:\MSS\xfiles, c:\MSS ADDITIVE
>
> * End sspath.prg - The above folders exist in C:\MSS.
>
> Now the issue is when I start debugging, Debug checks for DBMS, Reports, forms, dbms and rest of folders in C:\MSS\Programs folder. I want debugger to search in Set path to folders as mentioned above?
>
> Can you please help me what I am missing? OR what should I do before running Debug?
>
> Please help me. I wish to achieve this today on the eve of Christmas and working on Sunday.
>
> Look forward to hearing from you.
>
> Regards,
> Madan
** why this ?
SET SYSMENU TO default
** change as
SET SYSMENU TO _mfile,_medit,_mwindow
**do not Hard code the path
lccurd=sys(5)+curdir()
set default to (lccurd)

** replace this 
SET PATH TO C:\MSS, c:\MSS\dbms, c:\MSS\<font color="Blue">forms, c:\MSS\images, c:\MSS\libs, c:\MSS\loaddd, c:\MSS\maps, c:\MSS\<font color="Blue">menus, c:\MSS\problems, c:\MSS\programs, c:\MSS\reports, c:\MSS\scripts, c:\MSS\transfer, c:\MSS\<font color="Blue">update, c:\MSS\xfiles, c:\MSS ADDITIVE

** to 
SET PATH TO .\dbms, .\images, .\MSS\libs  ...  additive


Warm Regards,
mk.

ENTIRE THREAD

Debugger Posted by Madan Mohan_DELHI @ 12/24/2011 2:50:12 PM
RE: Debugger Posted by mk sharma @ 12/24/2011 4:03:56 PM
RE: Debugger Posted by Madan Mohan_DELHI @ 12/24/2011 4:24:09 PM
RE: Debugger Posted by mk sharma @ 12/24/2011 4:31:56 PM
RE: Debugger Posted by Greg Green @ 12/24/2011 5:04:52 PM
RE: Debugger Posted by mk sharma @ 12/24/2011 5:24:55 PM
RE: Debugger Posted by Koen Piller @ 12/25/2011 12:32:14 AM
RE: Debugger Posted by tushar @ 12/24/2011 6:54:23 PM
RE: Debugger Posted by Madan Mohan_DELHI @ 12/25/2011 9:11:23 AM
RE: Debugger Posted by mk sharma @ 12/25/2011 11:07:04 AM
RE: Debugger Posted by Madan Mohan_DELHI @ 12/25/2011 12:17:22 PM
RE: Debugger Posted by mk sharma @ 12/25/2011 12:28:46 PM
RE: Debugger Posted by Madan Mohan_DELHI @ 12/25/2011 12:47:47 PM
RE: Debugger Posted by Koen Piller @ 12/25/2011 1:05:50 PM
RE: Debugger Posted by Madan Mohan_DELHI @ 12/25/2011 1:19:16 PM
RE: Debugger Posted by Koen Piller @ 12/25/2011 2:57:04 PM
RE: Debugger Posted by mk sharma @ 12/25/2011 1:26:22 PM
RE: Debugger Posted by Madan Mohan_DELHI @ 12/25/2011 1:51:38 PM
RE: Debugger Posted by mk sharma @ 12/25/2011 2:11:45 PM
RE: Debugger Posted by Madan Mohan_DELHI @ 12/26/2011 5:58:10 PM
RE: Debugger Posted by mk sharma @ 12/26/2011 6:13:23 PM
RE: Debugger Posted by mk sharma @ 12/25/2011 12:20:42 PM
RE: Debugger Posted by Tamar Granor @ 12/27/2011 2:43:10 PM
RE: Debugger Posted by Madan Mohan_DELHI @ 1/11/2012 2:29:59 PM