Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The H-Files
Message
From
27/09/1998 11:50:27
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00141222
Message ID:
00141232
Views:
25
>Using VFP 6 and starting to work again on my POS project. I got the OCX for the receipt printer from Epson which makes life much easier.
>
>I am including some H files that define many constants. My minor problem is that none of these ever show up in the debugger to see what they are defined as [no way can I remember what they are all equal to]. I can't even put some of them in the watch window [get the "can't evaluate" message].
>
>The if lnRetVal = OPOS_SUCCESS, etc., evaluates correctly in my code, but I would like to follow some of this via the debugger.
>
>Any advice? Or am I just outta luck on this one?


The reason the debugger doesn't know the value these things is because these things don't exist. Remember, #DEFINEs get replaced with the actual value at compile time. I've struggled with this in the past and haven't found any solution that I like.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform