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

Auto-decode stack traces for jag simulate #216

Merged
merged 2 commits into from
Aug 12, 2022
Merged

Auto-decode stack traces for jag simulate #216

merged 2 commits into from
Aug 12, 2022

Conversation

erikcorry
Copy link
Member

Currently the stack trace decoding on the device is broken by things getting
mixed up on the serial line, but that is independent of this change.

@erikcorry erikcorry requested a review from kasperl August 10, 2022 13:57
Copy link
Member

@kasperl kasperl left a comment

Choose a reason for hiding this comment

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

Looks good to me.

postponed := []string{}

for d.scanner.Scan() {
// Get next line from serial port.
Copy link
Member

Choose a reason for hiding this comment

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

Not necessarily the serial port anymore.

@@ -49,9 +51,21 @@ func SimulateCmd() *cobra.Command {
return err
}

outR, outW := io.Pipe()
Copy link
Member

Choose a reason for hiding this comment

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

outReader, outWriter?

@erikcorry erikcorry merged commit e68c602 into main Aug 12, 2022
@erikcorry erikcorry deleted the simulate-decode branch August 12, 2022 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants