1. Windows, memstructs, win32lib, IDE - round 2

Matt, Two curious problems with your version of the IDE:

  1. Sometimes the IDE.exw won't apparently run. Sometimes nothing seems to happen, sometimes I get the splash screen, then nothing, other times it just starts up. Odd.

  1. If I try and edit the Options, and save, it locks up. The amount of RAM being allcoated to the interpreter goes up by about 2k per second, and the program absorbs all the cpu time it can - 25% on my machine. So it is in a dreaded loop!

    I mention these merely for information...
    Andy
new topic     » topic index » view message » categorize

2. Re: Windows, memstructs, win32lib, IDE - round 2

AndyDrummond said...

Matt, Two curious problems with your version of the IDE:

  1. Sometimes the IDE.exw won't apparently run. Sometimes nothing seems to happen, sometimes I get the splash screen, then nothing, other times it just starts up. Odd.

  1. If I try and edit the Options, and save, it locks up. The amount of RAM being allcoated to the interpreter goes up by about 2k per second, and the program absorbs all the cpu time it can - 25% on my machine. So it is in a dreaded loop!

    I mention these merely for information...

Thanks for letting me know. I haven't seen this behavior, but perhaps adding some with trace / trace(3) would help find the problem. This slows it down, of course. Also note that in 4.1, you can specify a longer ctrace.out file with the -trace-lines switch.

Also, I started trying to compile it, but found some bugs in the parser which I haven't fixed yet. But at least I know they're there.

Matt

new topic     » goto parent     » topic index » view message » categorize

3. Re: Windows, memstructs, win32lib, IDE - round 2

Matt,
I did a trace(3) and the end of it was:

win32lib.ew:3393	    if sequence(id) and                                      
win32lib.ew:3403	    if validId( id ) then                                    
win32lib.ew:3247	  if sequence(id) then                                       
win32lib.ew:3257	  elsif not integer(id) then                                 
win32lib.ew:3260	  if id <= 0 then                                            
win32lib.ew:3263	  if id > length(ctrl_Handle) then                           
win32lib.ew:3266	  if ctrl_Destroyed[id] < 0 then                             
win32lib.ew:3269	  if ctrl_Handle[id] = 0 then                                
win32lib.ew:3272	 if ctrl_Parent[id]=0 then                                   
win32lib.ew:3275	 return validId(ctrl_Parent[id])                             
win32lib.ew:3247	  if sequence(id) then   
 
This was when IDE opened, showed the splash screen, loaded a variety of other things then just .... stopped. It seems to be in a routine called ValidId() (if memory serves me well).

I'm not sure if I get a valid ctrace if I abort a program in Task Manager ... I'll try it in a bit.

Andy

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu