Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Debug info prototype #2088
Debug info prototype #2088
Changes from all commits
ab1cb42
84516d3
25c7101
53278b9
4161ea3
259171c
4b0aec7
e4c8760
261045f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be useful to also see the development of the Windows support happening in this same repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I was thinking the same myself just yestrday.
I believe my colleague Simon Tooke has some basic things working but is is still working on getting a stable version that he is happy to publish. He was struggling with getting VS to use the right file paths but the sources cache may have simplified that. I'll try to push him to provide a version I can pull into this PR branch that will build and maybe implement some basic debugging (I am sure that can be made to happen very soon ;-).
Of course, Simon's code is always lagging slightly behind my version because he keeps having to play catch up with the changes I have been adding (sources cache, Streams in native image <-> object API, other tweaks to API). So, this may take a day or two.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simon suggested raising his own PR from a branch in his github repo derived from my branch. That will avoid his changes breaking my branch and vice versa. He can pull my changes in and then publish them once he has assimilated them. It will also allow us to merge either just my changes or (much preferred) both sets of changes at the same time once we get them through review. I don't want his stuff delayed but this means we are not stuck there are any blockers for his code (which is still a possibility given the difficulty of knowing what might turn up in VS). How does that sound?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds ok to me. I'd like to get my eyes on those changes as well. Please let me know when there is a PR to look at.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should use
'-H:GenerateDebugInfo=1'
also forjavac_image(...)
helloworld(...)
build (non-shared library build of hello world image)cinterfacetutorial(...)
Otherwise it's pointless to build those images in
GraalTags.helloworld_debug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah ok. I had no idea what that script was doing. I hope I have got it right this time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also fixed the eclipse format problems.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The gate seems to be blocked however and closing then re-opening the PR seems not to have restarted testing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's annoying. Sorry to hear. You should be able to run your new gate task locally with
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw, you forgot to also add
helloworld_debug
tograal/substratevm/mx.substratevm/mx_substratevm.py
Line 361 in 51c8f8f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... and here:
graal/.travis.yml
Line 29 in 97876cd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I added those changes (although I have no proper idea what they are meant to achieve :-) and the above mx gate command appears to be do its stuff without errors. Also, the Travis gate build seems to be running again after pushing those changes.