Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TIP OF THE DAY: Losing Debuginfo without lineno in error
Message
From
11/12/2000 15:56:17
James Marshall
SPAWAR Systems Center Charleston NCR
Washington, District of Columbia, United States
 
 
To
10/12/2000 04:01:25
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00451117
Message ID:
00451845
Views:
39
>Hi Nadya,
>
>>Seems like very useful trick. What about building app? I believe, the rule still applies...
>
>Yep, it does. The trick is that all form and classfiles are included in the exe. If you're able to reduce those files in size it will directly lead to reducing the size of the exe with the same amounts of bytes (unless the debuginfo checkbox was unchecked).
>
>If you use the commandwindow I wrote (Available from the filessection) build into your exe you can easely check this in the following manner:
>
>- Start your appplication
>- Pop up the command window
>- Enter: USE myClass.vcx (where myclass is one of your use classes)
>- BROWSE NORMAL.
>
>You'll see that your whole classlibrary is include in your project (if you do include debuginfo, you'll see your sourcecode is intact too). BTW, this is a great way to retrieve the original sourcecode from an existing executable (at least for classes, reports, forms and other tables).
>
>If you've replace the methods fields with a *, you'll notice that it is also build into the exe.
>
>Walter,

This seems like a top-notch tip. A few clarifying questions from the gallery, if I may:

1. When you replace all method fields of both classes and forms, do you replace only the records that are not empty, i.e., REPLACE ALL METHOD WITH '*' FOR !EMPTY(METHOD) ?

2. Do you then leave the DEBUG INFO checkbox checked in the Project Info/Project option?

3. Is the "Build" option of the Project Manager the same as "BUILD EXE myExe From MyPrject", so long as the Rebuild Project and Rebuild All Files options are unchecked ? (Sorry for this last one, I've just never used "Build" from the command window before...

Thank you for sharing your ideas.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform