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

JVMTI followup #3700

Merged
merged 2 commits into from
Jun 3, 2024
Merged

JVMTI followup #3700

merged 2 commits into from
Jun 3, 2024

Conversation

alexander-yakushev
Copy link
Member

@alexander-yakushev alexander-yakushev commented Jun 3, 2024

  1. Per @yuhan0 suggestion, I've changed the way how allowAttachSelf property is injected for tools.deps. It looks marginally cleaner this way.
  2. Updated the docs clarifying that allowAttachSelf can (and should) be specified manually when the REPL is not started through jack-in.

IMPORTANT: `cider-enable-nrepl-jvmti-agent` has no effect if you start a REPL
process outside of Emacs and connect to it with `cider-connect`. In that
scenario, you have to add `-Djdk.attach.allowAttachSelf` Java property manually
through the means of the build tool.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe you can also add here some snippets for lein and the Clojure CLI, so it'd be a tiny bit easier for the majority of the users to figure out what they have to do.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@alexander-yakushev alexander-yakushev force-pushed the jvmti-followup branch 2 times, most recently from 3c11193 to 9e73100 Compare June 3, 2024 12:33
@bbatsov bbatsov merged commit c190a24 into master Jun 3, 2024
39 checks passed
@bbatsov bbatsov deleted the jvmti-followup branch June 3, 2024 13:15
@bbatsov
Copy link
Member

bbatsov commented Jun 3, 2024

Thanks!

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.

None yet

2 participants