1. WEE Locking Up

I've encountered several occurrences today where WEE has basically locked up.

Nothing I can duplicate (yet), but I'll keep my eyes open for a pattern.

It seems to happen after a paste.

I'll post back if I can duplicate it. In the mean time, save early and often!

- David

new topic     » topic index » view message » categorize

2. Re: WEE Locking Up

Yeah, I'm seeing it intermittently too. No idea what the cause is, but I have a suspicion it's the argument parser. Would you mind replacing this function at the bottom parser.e:

-- parse argument expressions, returning the last argument position 
global function parse_argument_position(sequence source_text) 
  integer arg 
  sequence e 
  text = source_text 
  idx = 1 
  tok_idx = 1 
  tok = "" 
  arg = 1 
  for i = 1 to 1000 do 
    if tok_idx > length(text) then 
	return arg 
    end if 
    if token(")") then 
        return 0 
    end if 
    if token(",") then 
        arg += 1 
    end if 
    e = expr(1) 
    --? {e, tok, tok_idx} 
    if length(e) = 0 and length(tok) = 0 then 
	return arg 
    end if 
  end for 
  puts(1, "stuck parsing argument position for \""&text&"\"\n")   
  return arg 
end function 

If it does get stuck, it will print the offending text in the console window. Please post what it prints, if anything.

EDIT: the "exit" should have been "return arg", modified above. Otherwise it prints false positives.

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

3. Re: WEE Locking Up

OK, I've added in the code.

I'll let you know if I see anything, thanks!

- David

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

4. Re: WEE Locking Up

It happened again, but no console appeared.

I don't think this is a new behavior - I've seen this happening for a while now.

It won't stop me from using WEE though. I love it.

- David

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

Search



Quick Links

User menu

Not signed in.

Misc Menu