Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I uninstall PEM Editor
Message
From
12/03/2009 00:31:40
 
 
To
11/03/2009 23:46:35
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01387013
Message ID:
01387346
Views:
56
Dragan --

Thanks for the sample code. That's more or less what I was looking at already.

In my teensy bit of testing so far, however, it may not be enough. For one thing, "close debugger" in code doesn't always close the debugger! ... apparently it doesn't do anything if the debugger is not idle. (I think that's it).

And, calling "Debug" sets the focus on the debugger ... not what you expect if you've clicked someplace else.

And, a typical session involves clicking back and forth between the form you are editing and PEM Editor. I'm sure it would be most annoying if the debugger kept flashing back and forth each time you did so.

I'll be trying this more over the next few days (probably a weekend thing, now that I think of it), but am not convinced there's a workable solution.

BTW, my statement about the Trace Window was premature -- all the debuggers windows cause speed degradation, some are just much worse than others.



>>It turns out that the trace window is the worst culprit -- but they all contribute.
>>
>>So the proposed solution would have to be do hide all of them (on activation) and them show them again (on deactivation).
>>
>>It looks like two ugly choices:
>> (1) performance so slow that you won't use it.
>> (2) having the debugger and its windows coming and going each time you activate / deactivate it.
>>
>>Truly too bad there's no way to turn off the debugger without closing it.
>
>On activate,
>
>this.lDebuggerOn=wvisible("trace")
>if this.lDebuggerOn
> close debugger
>endif
>
>on deactivate
>
>if this.lDebuggerOn
> debug
>endif
>
>May just work.
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform