Skip to content

Conversation

@juergenhoetzel
Copy link
Collaborator

Instead just log parsing errors and try to parse next line. Fixes #130.

@rneatherway
Copy link
Member

rneatherway commented Jun 2, 2017 via email

@juergenhoetzel
Copy link
Collaborator Author

It does worry me a little that people might find
debugging hard if there is a stack trace and we throw it away though. Any
idea how we might get around that issue?

I'm not sure what you mean with "throw the stack trace away".

  • Currently no stack trace is shown if the the user didn't set (setq debug-on-error t)
  • Users can still check *fsharp-debug* if something doesn't work and use edebug to set breakpoint

@juergenhoetzel
Copy link
Collaborator Author

By the way: In tramp we use tramp-debug-message for logging.
I automatically logs function-name/arguments to provide useful debug-information by default whithout verbose syntax? IMO this would also help debugging issues like this? What do you think?

Instead just log parsing errors and try to parse next line. Fixes #130.
@rneatherway
Copy link
Member

rneatherway commented Jun 2, 2017 via email

This was referenced Jun 3, 2017
@rneatherway rneatherway merged commit 519fb63 into fsharp:master Jun 6, 2017
@rneatherway
Copy link
Member

Thanks for the PR, 1.9.7 including it should be live on MELPA by tomorrow.

juergenhoetzel pushed a commit to juergenhoetzel/emacs-fsharp-mode that referenced this pull request Nov 30, 2019
…-input

Don't panic on malformed JSON (debug messages)
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