Skip to content

How to debug coreclr with clion at the source level #109097

Closed Answered by successgo
successgo asked this question in Q&A
Discussion options

You must be logged in to vote
  [817/1739] Linking CXX shared library dlls/mscoree/coreclr/libcoreclr.dylib
  Stripping symbols from libcoreclr.dylib into libcoreclr.dylib.dwarf

I found these Stripping lines in the output of build.

I found there is an option to configure if keep the native symbols or not, which is --keepnativesymbols, but previously I can not build with this option, now I figured it out with option --keepnativesymbols true.

The complete build command is

./build.sh --ninja --keepnativesymbols true

After build like this, breakpoint debugging inside coreclr works well.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@huoyaoyuan
Comment options

@successgo
Comment options

@successgo
Comment options

@successgo
Comment options

Answer selected by successgo
@huoyaoyuan
Comment options

@successgo
Comment options

@EgorBo
Comment options

EgorBo Oct 22, 2024
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants