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


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

Many Thanks for response.

1. My project directory is C:\MSS. So I set to C:\MSS in my sspath.prg to make debugging environment under MSS. Not sure I am right or wrong.

2. I changed to as per your guidance but now another issue that debugger is throwing error message like the following...

Program Error

File 'C:\MSS\login.scx' doesn't exist.

I believe it should check in C:\MSS\Forms instead of MSS.

Need your further help.

Regards,
Madan

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