|
Re: Command safety tip and debugging tip [message #169762 is a reply to message #169702] |
Sun, 27 February 2005 02:25 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
> Tracking down this situation was non-trival since there are two different
> factors that must be considered: when / where the Command was "created"
> and when / where the Command was executed. In my case, the "created" part
> was the most important. But as most of you know, the various EditPolicy
> methods are called quite frequently and it's *very* *very* *very* hard to
> determine which Command "create" is the one that is actually added to the
> CommandStack and executed. (If you don't already know, the various
> EditPolicy methods
Why not put a breakpoint in performCreation or handleButtonUp or something
in the tool which is executing the command?
|
|
|
|
Powered by
FUDForum. Page generated in 0.02617 seconds