Opened 2 years ago

Closed 2 years ago

#12104 closed defect (fixed)

OFW debugger render issue with abort strings

Reported by: dsd Owned by: Quozl
Priority: low Milestone: Not Triaged
Component: ofw - open firmware Version: not specified
Keywords: Cc:
Blocked By: Blocking:
Deployments affected: Action Needed: no action
Verified: no

Description

Try debugging (boot-read) with the new, pretty OFW debugger where it shows the whole word definition in colours.

It seems to struggle with abort strings - hit space until you pass the first "abort" then you'll see that the "current word" cursor gets a bit lost and this makes debugging quite painful.

xo-1.75, Q4D21.

Change History (4)

comment:1 Changed 2 years ago by wmb@…

  • Priority changed from normal to low
  • Status changed from new to assigned

The real problem is not the abort string itself, but instead the fact that the string contains embedded CR-LF characters, which is stylistically unusual for Forth strings. Those embedded cursor motions bypass the mechanisms that work out screen placement.

I might not be fixing this anytime soon, as I don't really know an easy fix.

You can switch to old mode by typing 'v' (toggle "visual" mode). If you type 'h', the long-form help screen documents that character, as well as the 'l' character that redisplays the definition.

comment:2 Changed 2 years ago by dsd

Thanks. For now the V key is fine as a workaround - I've added a note to http://wiki.laptop.org/go/Forth_Lesson_15

comment:3 Changed 2 years ago by Quozl

  • Action Needed changed from never set to add to release
  • Owner changed from wmb@… to Quozl
  • Status changed from assigned to new

Fixed in svn 3372.

comment:4 Changed 2 years ago by Quozl

  • Action Needed changed from add to release to no action
  • Resolution set to fixed
  • Status changed from new to closed

Is in Q4D25.

Note: See TracTickets for help on using tickets.