mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

How can I debug the project with GDB?

Open wsybupt opened this issue 10 years ago • 2 comments

I want to step through the abstract program code. When I use the GDB to debug the code, I can't see the source code. All I can see is that Breakpoint 1,0x00007ffff6d98190 in MXPredGetOutPutShape () from /mxnet/example/cpp/image-classification/../../../../mxnet/lib/libmxnet.so

So, how can I step into the source code?

wsybupt avatar Mar 24 '16 12:03 wsybupt

DEBUG = 1 in config.mk

piiswrong avatar Mar 24 '16 23:03 piiswrong

@piiswrong Thank you!

wsybupt avatar Mar 25 '16 03:03 wsybupt