0

I have a program written in C++. It's built on my dev machine with Ubuntu, and also on dev CentOS. Then binary from dev CentOS runs on live server. Where it crashed and now I have core dump. I'm able to get the dump on my dev CentOS and examine it using GDB. But it's complicated to use console on dev CentOS. I want to use QtCreator or Eclipse to examine the dump. I think it's possible to do it using gdbserver, but I failed. Could you give me some advices?

Viktor
  • 392
  • 2
  • 8
  • 1
    Could you please explain, what does it mean - 'failed'? Using console on Linux should be essential skill for developer, so I don't understand why it is so complicated type command `bt` in gdb console. – Sergei Nikulov Sep 16 '16 at 15:45
  • What do you mean by "dump"? Have you tried sharing the relevant directory between machines? To this end, I would suggest using sshfs to make the CentOS data available to your Ubuntu applications. – rubicks Sep 16 '16 at 15:45
  • dump = core dump, generated on live server when daemon crashed – Viktor Sep 16 '16 at 15:46
  • "failed" - failed to use IDE to debug. Using gdb on dev CentOS, bt, bt full, etc is not a problem – Viktor Sep 16 '16 at 15:47

0 Answers0