Ticket #12104 (closed defect: fixed)

Opened 2 years ago

Last modified 22 months ago

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:
Action Needed: no action Verified: no
Deployments affected: Blocked By:


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

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.

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

Changed 2 years ago by Quozl

  • owner changed from wmb@… to Quozl
  • status changed from assigned to new
  • next_action changed from never set to add to release

Fixed in svn 3372.

Changed 22 months ago by Quozl

  • status changed from new to closed
  • next_action changed from add to release to no action
  • resolution set to fixed

Is in Q4D25.

Note: See TracTickets for help on using tickets.