graal icon indicating copy to clipboard operation
graal copied to clipboard

Add support for Windows debugging with isolates enabled.

Open stooke opened this issue 3 years ago • 2 comments

Feature request

The Windows debugging feature does not work well when isolates are enabled, due to lack of expressiveness in CodeView debug format.

Ideally there should be a way to make this work properly, either through Graal runtime support, or enhanced CodeVIew support.

Users of Graal will benefit from enhanced debug support in Windows without having to disable isolate support when deploying applications.

Once the current Windows support is feature complete, I could consider looking into this.

stooke avatar Jun 02 '22 11:06 stooke

Hi, Thank you for your suggestion, we will take a look into it and get back to you

oubidar-Abderrahim avatar Jun 07 '22 13:06 oubidar-Abderrahim

When isolates are enabled, static class members are now accessed via an offset from the heap base, instead of at an absolute, fixed address. One method of implementing this could be to define a type where the instance members are the static members of all the original type (with offsets same as offsets into the isolate heap), and then accessing via a 'this' pointer that is actually the heap base pointer register.

stooke avatar Jun 09 '25 14:06 stooke