Skip to content

Unable to inspect when debugging object extending App trait  #2482

@chrisbarker

Description

@chrisbarker

Bug
I can't inspect variables when I hit a breakpoint in an object which extends the App trait.

Steps to reproduce the behavior:

  1. Set break point in code
  2. Run debugger
  3. Hit breakpoint
  4. Unable to inspect variables

Expected behavior

I expect to be able to debug and inspect variables in an object which extends the App trait in the same way that I can with an object that implements a main entry point.

Screenshots
Expected
Screen Shot 2021-02-06 at 1 37 18 PM
Bug
Screen Shot 2021-02-06 at 1 37 41 PM

Installation:

  • Operating system: Linux - Ubuntu 20.04.2 LTS

  • Editor: Visual Studio Code v1.53.0

  • Metals version: v1.9.13

Search terms
debug debugging inspect

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementNot a bug or a feature, but something general we can improve

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions