Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Verify Breakpoints #8

Merged
merged 2 commits into from
Jun 8, 2020
Merged

Fixed Verify Breakpoints #8

merged 2 commits into from
Jun 8, 2020

Conversation

joshuamitchener
Copy link
Collaborator

No description provided.

@@ -149,3 +149,7 @@ def main() -> NoReturn:
# If a user encounters a traceback that should be a fatal issue
print("dashmips encountered an error!", file=sys.stderr)
print(ex, file=sys.stderr)
except KeyboardInterrupt as ex:
# Program should be closed
print("Program terminated.")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should do a run over all the python we've changed uses the logger instead of printing and make sure the logger prints to stderr when enabled
For now lets make this print(..., file=sys.stderr) use stderr.

local_breakpoints.append(real_line)
elif real_line is None and is_known_file:
local_breakpoints.append(-1)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's document this, right here in a comment what -1 means and maybe a note in the wiki

@joshuamitchener joshuamitchener merged commit 526a88c into master Jun 8, 2020
@joshuamitchener joshuamitchener deleted the debugger_verify branch June 8, 2020 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants