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

how to use gdb-debug #272

Open
Alfred-hhy opened this issue May 6, 2024 · 4 comments
Open

how to use gdb-debug #272

Alfred-hhy opened this issue May 6, 2024 · 4 comments

Comments

@Alfred-hhy
Copy link

Issue description

To reproduce

I use the command ego-go build -gcflags=all="-N -l" helloworld.go ,however I could not use there is no debugging symbols neither the helloworld sample nor the vault sample .I use ego build, ego sign ,ego run correctly.
could you please help me to solve the problem .thank you so much.
88ef8fb3a9f69644257f3a2eb5de3f96

d6c5600cd48e7e64b74fac720eaaf07b
9b134d53d667b57192d38f03bf3d9c29

Expected behavior

Additional info

@Alfred-hhy
Copy link
Author

and when I use gdb helloworld ,there are debugging symbols
b9666ba73074533fec6fadc34217811a
43edc5a5fc81af8006f0b2c3780a369d
but when I use ego-gdb ,there are no debugging symbols
eb8dae7c3346355f36ddae141be94d28
e55effbde58715587176c523391821f9

@thomasten
Copy link
Member

Hi, this output is expected. The symbols are loaded as soon as you run the program.

@Alfred-hhy
Copy link
Author

thanks for your reply.
image
image
image
image
it seems that there are still something wrong .coulp you please give a detail instruction

@thomasten
Copy link
Member

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

No branches or pull requests

2 participants