pcdshub / pcdshub/hutch-python

Store startup errors in session for debug purposes

Open
#153 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1
Forks
18
Avg merge
7d 9h
Merged PRs (30d)
1

Description

Expected Behavior

Something bad happens in the load, exceptions are cached with good names under a namespace object. Then, in the session, you can check the exceptions/tracebacks and see what happened without loading the logfile and without special knowledge of python tracebacks/debugging. Maybe just have the traceback stored as a string, then have a function print it as it should normally be displayed.

Current Behavior

No such feature

Possible Solution

Make the feature

Context

This would be a cool debugging tool

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating the startup/load exception handling and session construction, then determine how exceptions and tracebacks can be cached under a namespace and inspected from the session; done means startup errors are available there without reading the logfile or needing traceback expertise.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.