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

jdb stacktrace regex doesn't account for thousands separator #58

Open
nemrod opened this issue Apr 24, 2018 · 0 comments
Open

jdb stacktrace regex doesn't account for thousands separator #58

nemrod opened this issue Apr 24, 2018 · 0 comments

Comments

@nemrod
Copy link

nemrod commented Apr 24, 2018

Presumably because of a locale setting, my jdb outputs in this format:
[1] com.example.Class.Method (Class.java:1,361)
Note that the line number has a thousands separator in the form of a comma. This causes the regex to not match and vebugger doesn't recognise the breakpoint being hit. I've successfully changed it to accept everything between the colon and the parenthesis, and then substitute() comma with nothing. I could do a PR with what I have, but it seems to me there should be a better way; either forcing jdb to output it in a predictable way (doing locale stuff), or if vim has a better way to parse numbers according to locale, or something.

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

No branches or pull requests

1 participant