Re: Enhanced IDE

new topic     » goto parent     » topic index » view thread      » older message » newer message

Mike777 wrote:
> 
> This is primarily intended for Judith, but if anybody else has any input, that
> would be fine with me.
> 
> I seem to have run into a repeatable circumstance where code is obliterated.
>  I'm not sure I can create a small repeatable example, but here is the code
> that will do it at my end.  Take a normal text box and look at the onKeyUp
> event.
>  Code it with:
> 
> w32VOID=message_box(sprintf("The value of the key
> is:[%14.6f]",params[1]),"",0)
> 
> Then run the program and input something which will cause a crash.  On my
> system,
> that is just typing C twice.
> 
> When you go back and look at the onKeyUp event in the IDE, it will be gone.
> 
> I mention this not because I'm losing one line of test code.  I mention this
> because after a crash, the routine that was in the process of executing is
> sometimes
> obliterated.  It happened to me a couple of times with a Window/[General] code
> block  [a BIG one].  When that happened, I was not very happy.  But since I
> couldn't reliably replicate it and it happened so infrequently, I just
> implemented
> a "save the project file frequently" habit and went about my way.
> 
> Now that I can reliably reproduce a code obliteration, I thought the least I
> could do is to mention it here so that if somebody wants to spend the time to
> track down the bug, they can and maybe more importantly, to encourage backing
> up the prj file "just in case."
> 
> Mike

I can reproduce the crash.

However when I return to Code Editor, I still have the statement in the
w32HKeyUp event. Depending upon your choice from Code Editor Menu Options "When
Changing Control", IDE may have switched you to another event. Please check what
event is showing in the events dropdown combo and if it is the w32HKeyUp and the
body of the editor shows nothing let me know.

Are you using IDEv1.0.3a?

judith

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu