Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Source not available'
Message
From
24/10/1997 11:38:01
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
23/10/1997 14:37:10
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00056375
Message ID:
00056547
Views:
30
>>I am trying to debug my executable which I am running from inside VFP 5.0,
>>In other words it is not standalone.
>>
>>I always rebuild ALL files when I rebuild the exe....
>>
>>However when the debug window comes up instead of seeing code it always says
>>'Source not available' ?
>>
>>This app hides the VFP desktop with _screen = off in the resource file and
>>_SCREEN.VISIBLE = .F. in my start.prg
>>
>>Not only is the code unavailable to the debug window but my error handler
>>routine will not return the line no of the code & only the first word of the
>>line of code that causes the error ???
>>
>>I have been working with this app for months and in the past have been able
>>to debug with no problems ? I can't figure out whats going on.
>>
>>Any help would be greatly appreciated !
>>
>>Greg Foote
>
>Greg,
>
>Unfortunately, you cannot 'debug' the executable. The line number get wiped out and the debugger can correlate the complied code with the source.
>
>As far as your error handler, that's a new one to me. All my executables have always returned the right information. (although, the lineno more often than not is irrelevant)
>
>If you need to debug, run the main prg directly.
>
>HTH
You can run debug if you compile to an app instead of an exe.

The error handler is working the way it is "supposed" to. It is documented that the exe does on return the same info, check the help.
L.A.Long
ProgRes
lalong1@charter.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform