c - Debugging Janus using NetBeans -


i'm trying debug new janus plugin using netbeans ide 8.0.1. hits breakpoints ok when trying step through code it's jumping on place , i'm seeing 'optimized out' when trying inspect variables. i'm sure because code has been built optimization enabled.

assuming problem, how rebuild optimizations disabled please? i've tried running configure 'cflag=-o0 -g' followed clean & build, i'm still getting same problem. janus configure file has couple of promising looking environment variables, janus_cflags , plugins_cflags. however, when try set these '-o0 -g', clean , make compilation error:

fatal error glib.h: no such file or directory

any suggestions appreciated.

if change compilation make file(not command line), should work make non-optimamized.

specifically, line cflags = -g -o2 should changed cflags = -g -o0. know works gdb(and consequently eclipse) , should work other debugger.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -