question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot scroll back when connecting to running interpreter

See original GitHub issue

Describe the issue you are having

When I connect to a running interpreter the RIDE IDE session window comes up blank. It would be nice if I could see what was in the session window, scroll back in its history etc. There is effectively no session history when connecting to a running interpreter.

(Note: any open edit/trace windows do come up and are populated.)

Did you connect to an already running interpreter or start the interpreter from RIDE?

Connect

How do you reproduce the issue?

Connect to a running interpreter.

Paste the contents of Help → About (Shift+F1)

IDE:
  Version: 4.1.3170
  Platform: Linux x86_64
  Date: 2018-04-25 00:24:55 +0200
  Git commit: 9cd0c566b20f8eaa1abfb061d37a2fdf6d3911ef
  Preferences:{
    "dbg":"1",
    "floatOnTop":"1",
    "floating":"1",
    "kbdLocale":"en_GB",
    "lbarOrder":"← +-×÷*⍟⌹○!? |⌈⌊⊥⊤⊣⊢ =≠≤<>≥≡≢ ∨∧⍲⍱ ↑↓⊂⊃⊆⌷⍋⍒ ⍳⍸∊⍷∩~∪ /\\⌿⍀ ,⍪⍴⌽⊖⍉ ¨⍨⍣.∘⍤@ ⍞⎕⍠⌸⌺⌶⍎⍕ ⋄⍝→⍵⍺∇& ¯⍬ ",
    "lineNums":"0",
    "wse":"1"
  }

Interpreter:
  Version: unknown
  Platform: unknown
  Edition: unknown
  Date: unknown

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
DyalogRichardcommented, Apr 25, 2018

Got to the bottom of it, with Jay’s help. Executive summary - it’s an interpreter issue.

Construction of the ReplyGetLog message failed, because there was an invalid Unicode character in the (very long) session history. This really was in the session history, from when something I was working on spit out a DMX message containing junk.

We need to think about how to address it, but it’s not a RIDE issue.

0reactions
DyalogRichardcommented, Apr 25, 2018

Interpreter issue is Mantis 15771 (http://mantis.dyalog.com/view.php?id=15771).

The interpreter will now translate invalid characters which cannot be UTF-8 encoded to 0xFFFD (REPLACEMENT CHARACTER - https://www.fileformat.info/info/unicode/char/fffd/index.htm). RIDE already displays invalid (but encodable) Unicode characters it receives this way.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python -- How do you view output that doesn't fit the screen?
Best Answer. Use the scrollback buffer on your terminal. If you're using GNU Screen, it can be set with defscrollback 1000 or any ......
Read more >
How to keep the python shell buffer scrolling down at all times
I desire a behaviour where upon C-c C-c the python shell (either already open or popping up) keeps scrolling down to display the...
Read more >
bug #52496, Command Window can't scroll up on... [Savannah]
The desired behaviour I assume is that the console would scroll back to show the cursor however this does not happen. It is...
Read more >
how do I enable scrolling in Windows command prompt?
Now the arrow keys can be used to scroll through the output. Press Esc to return to normal mode. Share.
Read more >
How to install and run the Python interpreter - Anne Dawson
Running Python Programs using IDLE, Anne Dawson PhD, ... If you're using any other operating system, scroll down under the heading Download ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found