Re: Source not available
- From: tg <tganss_at_t_dash_online_dot_de-remove-all-after-first-real-dash@xxxxxxxxx>
- Date: Mon, 23 Mar 2009 09:05:03 +0100
Hi Jeff,
the project and form (as well as all other files in the project) are in the same directory.
I'm working in the IDE and not from an app or exe.
I put a breakpoint in the method code either with IDE or with SET STEP ON.
At the correct point, the debugger opens but I get the "source not available"
Here is one more clue (possibly)
The form's main behavior (a method) is called from the form's activate method. With most of my forms I call the methods from the forms init method. This one doesn't work unless its called from the activate method.
Does not ring any particular bells... Unless you work with 2 vfp instances, edit in one and run/debug in the other. This can sometimes create problems - maybe yours as well.
Is this a form you run directly from the IDE after chhanging or is this run the more traditionall App way of calling a main.prg in the IDE which then calls the form directly or via menu ?
Please check if you can see prg/vcs/scx code - even if you usually don't use Prgs, the visibility in debug sometimes differs between them and that can put you on the right track (made myself wonder my sanity when I first encountered it...). Try to create a stub start prog just to try to find out if you can see the line in the program at the lowest stack level.
Then you might check if curdir() is manipulated somewhere. If it is a problem of calling from .activate(), you might play around with calling up through bindevent() or some timer gymnastics - set a flag to run after 20ms for once for instance. As the debugger sometimes changes event behaviour, might be not as strange as it sounds.
HTH
thomas
.
- References:
- Source not available
- From: Jeff Grippe
- Re: Source not available
- From: tg
- Re: Source not available
- From: Jeff Grippe
- Source not available
- Prev by Date: Re: VFP9 SP2 and Excel 2007
- Next by Date: Re: VFP9 SP2 and Excel 2007
- Previous by thread: Re: Source not available
- Next by thread: DBF table type
- Index(es):
Relevant Pages
|