Skip to content

System.ArgumentOutOfRangeException: #3389

@jscabrera81

Description

@jscabrera81

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.

Exception report

-----------------------------------------------------------------------
Last 200 Keys:
 - p i d = M i c r o s o f t - M I E n g i n e - P i d - 5 n x 0 n i y v . d q f ' Space ' - - d b g E x e = C : \ 
D e v \ e s p \ t o o l s \ . e s p r e s s i f \ t o o l s \ x t e n s a - e s p 3 2 s 3 - e l f \ e s p - 2 0 2 1 r 2 - p a t c h 3 - 8 . 4 . 0 \ x t e n s a - e s p 3 2 s 3 - e l f \ b i n \ x t e n s a - e s p 3 2 s 3 - e l f 
- g d b . e x e ' Space ' - - i n t e r p r e t e r = m i ' Space Enter


Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -3.
   at System.Console.SetCursorPosition(Int32 left, Int32 top)
   at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
   at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
   at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
   at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean 
ignoreIfNoAction, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

Screenshot

image

Environment data

PS Version: 5.1.19041.1682
PS HostName: ConsoleHost
PSReadLine Version: 2.0.0-beta2
PSReadLine EditMode: Windows
OS: 10.0.19041.320 (WinBuild.160101.0800)
BufferWidth: 130
BufferHeight: 31

Steps to reproduce

Trying to debug a ESP32S3 using VS code.

Expected behavior

A successful debugging process

Actual behavior

The debugging process is aborted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions