Skip to content

No Stack trace assertion options for methods that throw exceptions #16

@TheAmg

Description

@TheAmg

Describe the bug

On trying to save a candidate that throws an exception, stack trace can't be asserted.
The actual trace is serialized on candidate hover, but on save assertions aren't created.
Return type seems to be considered void.

Screenshot 2024-06-20 at 3 16 12 PM

Reproduction steps

  1. DirectInvoke a method that throws an exception.
  2. Try to save it as a replay, there will be no assertion options on save
    ...

Expected behavior

An assertion for the stack trace or part of it to be possible.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions