Author

Topic: Debugging and general workspace configuration (Read 380 times)

member
Activity: 74
Merit: 13
Those are the compiler flags for the unit test build
CXXFLAGS = -g3 -O0 -DDEBUG -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE
member
Activity: 74
Merit: 13
Hi everyone,
I've been working on the code for some time now, also made some pull requests (some of them got merged).
I'm having some problems debugging the code. I'm working with eclipse on OSX Mavericks, building the project works great but when i go to debugging prospective i'm having some problems:
  • Many breakpoint cannot be installed
  • Some breakpoints that can be installed cause a source not found error
  • Cannot debug header files

A specific example is when i'm trying to debug step-by-step some of the unit tests, i can't seem to be able to step in functions.
I did: ./configure --with-miniupnpc --enable-upnp-default --with-qrencode --enable-debug so to  include debugging flags.

Anyone care to share how he setup his workspace or how to resolve those problems ?
Jump to: