sphinx - when i am debug using gdb compiler ,can't able see the printed values in console window -


i've downloaded sphinx-2.2.5-release version ,installed successfully...

steps::

./configure --prefix=/home/syscon/documents/work/sphinx-2.2.5-release --with-debug

sudo make clean

sudo make

sudo make install

mysql -u root -p** tests -e "select * tests.documents"

mysql -u root -p** tests < example.sql

sudo ./src/indexer --all

to debug searchd in console,

sudo gdb -tui --args ./src/searchd --console

once step has been done,it goes inside console window,

break sendsearchresponse

run

void sendsearchresponse ( searchhandler_c & thandler, inputbuffer_c & treq, int isock, int iver, int imasterver ) {                 ....                 ....                 // serve response                 netoutputbuffer_c tout ( isock );                  int ireplylen = 0;                 bool bagentmode = ( imasterver>0 );                  cout<< "length" << endl;                 cout << ireplylen << endl; } 

i tried printing statements inside function,while debugging,it crosses printf statements not printing in console window.

what shall need inorder print statements in console window?

will need enable thing in sphinx.conf?


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -