Community
Participate
Working Groups
When debugging a C program and trying to view the values of structure content, I get this error : Target request failed: A syntax error in expression, near `'. While selecting one sub-element, I get the following error Target request failed: A syntax error in expression, near `).regexp'. I tried to reproduce the problem with a test program and the structure in error alone, but it doesn't work. The problem can be reproduced by compiling Augeas http://augeas.net on Linux. git clone git://git.fedorahosted.org/augeas.git cd augeas ./bootstrap.sh ./configure Then import the project into Eclipse CDT, and set this debug configuration : New C/C++ Local Application Project : augeas C/C++ Application : src/.libs/augtool Argument: ls /files/etc/hosts Environment: LD_LIBRARY_PATH=/directory/to/augeas/src/.libs/ Build, run and break on assignment or declaration of value struct, for example in syntax.c in compile_exp and it will trigger the error.
can you enable verbose console and post gdb commands from console here