Skip to content

Conditional breakpoint throws error when evaluating a complex expression. #316

Closed

Description

Reproduce steps:

  1. Add an expression such as message.toString() != null && message.toString() != null to a breakpoint.
  2. When the code runs there, the evaluation will throw error "Breakpoint condition 'message.toString() != null && message.toString() != null' error: com.sun.jdi.InvalidStackFrameException occurred while retrieving value. ".

Actually evaluate the same expression at the standalone DEBUG CONSOLE view, it returns true. So the expression is acceptable. This looks like a bug of java debugger.

Activity

  1. testforstephen commented on Jun 27, 2018

    @testforstephen
    ContributorAuthor

    This issue is fixed with PR microsoft/java-debug#184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions