Skip to content

Update Art Attacher#3467

Open
alonalbert wants to merge 1 commit intoJetBrains:masterfrom
alonalbert:update-art-attacher
Open

Update Art Attacher#3467
alonalbert wants to merge 1 commit intoJetBrains:masterfrom
alonalbert:update-art-attacher

Conversation

@alonalbert
Copy link
Copy Markdown
Contributor

@alonalbert alonalbert commented Mar 20, 2026

  • Add cache for dexed classes to reduce test run time.
  • Register some extensions that allow more tests to pass

Note

Medium Risk
Changes the ART-based debugger test launcher to build and cache per-classpath DEX artifacts and to register Android-specific debugger extensions; this can affect test correctness and stability due to caching, reflection-based D8 invocation, and new extension point wiring.

Overview
Speeds up ART VM debugger tests by switching from a single temp DEX build to per-dependency DEX generation with an optional on-disk cache (controlled by INTELLIJ_DEBUGGER_TESTS_DEX_CACHE / intellij.debugger.tests.dex.cache), using a hash-based filename and atomic moves.

The ART attacher now registers Android-specific extensions (AndroidDexer and FieldVisibilityProvider) for the test session and stores the produced DEX paths in project user data via DexBytecodeInspector.DEX_FILES_KEY to enable dex-aware inspections during debugging.

Build/test module metadata is updated to include required Android and JDOM test dependencies.

Written by Cursor Bugbot for commit 6c3632c. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@BartvHelvert BartvHelvert added the Kotlin Pull requests for Kotlin IntelliJ plugin label Mar 23, 2026
@alonalbert alonalbert force-pushed the update-art-attacher branch from 3634728 to c4f901b Compare March 23, 2026 18:40
* Add cache for dexed classes to reduce test run time.
* Register some extensions that allow more tests to pass.
* Attach the list of DEX files to the project as user data.
@alonalbert alonalbert force-pushed the update-art-attacher branch from c4f901b to 6c3632c Compare March 23, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Kotlin Pull requests for Kotlin IntelliJ plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants