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

* workaround: idea debugger doesn't stop in Inner classes that extends from ObjCObject #754

Merged

Conversation

dkimitsa
Copy link
Contributor

@dkimitsa dkimitsa commented Oct 8, 2023

Root case:

ObjCClass preloads all instances of ObjCObject to find out if these have NativeObject annotations. As result inner class might be loaded before hosting class. This makes Idea debugger not happy and it ignores CLASS_PREPARE event and doesn't apply breakpoints to it. https://youtrack.jetbrains.com/issue/IDEA-332794

Workaround

Lets preload host classes before all ObjCObject classes.

NB: affects only debug builds

…s from ObjCObject

## Root case:
ObjCClass preloads all instances of ObjCObject to find out if these have NativeObject annotations. As result inner class might be loaded before hosting class. This makes Idea debugger not happy and it ignores CLASS_PREPARE event and doesn't apply breakpoints to it.
https://youtrack.jetbrains.com/issue/IDEA-332794

## Workaround
Lets preload host classes before all ObjCObject classes.

NB: affects only debug builds
@Tom-Ski Tom-Ski merged commit f8a81f5 into MobiVM:master Oct 8, 2023
1 check passed
dkimitsa added a commit to dkimitsa/robovm that referenced this pull request Apr 15, 2024
…s from ObjCObject (MobiVM#754)

## Root case:
ObjCClass preloads all instances of ObjCObject to find out if these have NativeObject annotations. As result inner class might be loaded before hosting class. This makes Idea debugger not happy and it ignores CLASS_PREPARE event and doesn't apply breakpoints to it.
https://youtrack.jetbrains.com/issue/IDEA-332794

## Workaround
Lets preload host classes before all ObjCObject classes.

NB: affects only debug builds
(cherry picked from commit f8a81f5)
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