Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Make printing stack trace optional and configurable #156

@tcNickolas

Description

@tcNickolas

** Please describe what you would like the feature to accomplish.**
I'm updating the Quantum Katas to QDK version 0.10.2002.2610, and it looks like the cell output in case of an error became a lot bulkier. As of PR #79, they include a mandatory Q# stack trace, which (for the use case of the Katas) doesn't really help the user figure out their issue, and might scare them away instead (this was the feedback we got when we had long stack trace in new Python tutorials).

image

I considered turning off the test output, but that won't work, since the katas rely on the output of Message and DumpMachine for conveying useful information about the test outcomes (such as the first line of task 1.1) and for allowing the user to debug their solution.

Ideally we would have an option to turn off the extra stack tracing, and then use that option in the TestTarget method of TestSuiteRunner in the katas.

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