anza-xyz / platform-tools

Apache License 2.0
45 stars 32 forks source link

solana-lldb can not debug solana program? #76

Open beanbean97 opened 5 months ago

beanbean97 commented 5 months ago

I followed the tutorial of how to do "Source level debugging"(https://solana.com/docs/programs/debugging), but in solana-lldb step,after type file target/deploy/learn_solana.debug, it show that error: ~/Projects/learn_solana/target/deploy/learn_solana.debug' doesn't contain any 'host' platform architectures: x86_64, i386.Did I do something wrong?

ksolana commented 4 months ago

Can you provide more details:

  1. the machine, OS etc that you were debugging on?
  2. The output of file ~/Projects/learn_solana/target/deploy/learn_solana.debug