Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove Class -> Ignore?
Message
From
21/03/2019 07:23:17
 
 
To
21/03/2019 07:01:47
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01667439
Message ID:
01667441
Views:
60
>>Morning all,
>>This dialog has become a thorn in my foot.
>>From the Debugger, I notice a potential problem in my code.
>>1. I select Debug->Fix.
>>2. The messagebox "Cancel Program?" appears. Answer "Yes". (I expect this)
>>3. The source code appears, and the cursor is placed at the spot I intend to correct.
>>4. I start typing.
>>5. The first character appears, BAM.
>>6. I get the dialog asking "Remove Class from memory?" appears. I can not continue with my correction until I answer the question with "Remove". If I select "Ignore", I am returned to the source code (with the first correction appearing), but if I attempt to continue typing my correction I get the "Remove Class from memory" dialog again. I can not continue until I answer it with the "Remove". The dialog does not happen all time. I have not been able to determine under what circumstances it occurs. I do realize that I an attempting to modify a class where the object it is based on is in memory, But...
>>
>>Question #1: Under what circumstances would 'Ever' need to answer it as 'Ignore'? The source code has already been altered with the first single character.
>>Question #2: Is there a way to suppress this question and default to the "Remove" response.
>>Question #3: Is this a feature or a bug? (can Chen's VFPA help).
>>
>>I do not know how much time I have wasted having to go back and correct my correction because the dialog does not close until I type a 'R'.
>
>Unfortunately you are not allowed to edit directly inside the debugger, unless the class is not in memory. It has always been like that.

I am not trying to edit in the debugger Trace window. The Debug->Fix, followed by the Cancel dialog, places me in the text/class editor with the cursor on the point I was in the Trace window.

I have been trying to train myself to type a Space first. This causes the Remove Class dialog. Answer 'R' and then perform the correction I wish to do. I just feel this extra step should not be required. The "Remove Class" question in itself is erroneous, when the only plausible answer is Remove.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform