[Cppcms-users] GDB breakpoint showing request incomplete type
Brought to you by:
artyom-beilis
From: Richard C. <ric...@gm...> - 2011-10-31 16:28:33
|
I am not using the cppcms template system, and simply want to use cppcms to pass json from jQuery to MongoDB. When I use GDB to set a breakpoint and view the request(), I get the error below. I have been developing in Java for 15 years and am just getting acquainted again with C++. What do I need to do to see the request? Richard Catlin Breakpoint 1, chat::log (this=0x1018024a0) at chat.cpp:59 59 } (gdb) p request().post().find("msg") Couldn't find method post (gdb) p request() $1 = (struct cppcms::http::request &) @0x101803f10: <incomplete type> (gdb) p request().post() Couldn't find method post (gdb) p request().request_method() Couldn't find method request_method |