Re: [Cppcms-users] is there some advanced technique to debug cppCMS app ?
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2009-10-17 18:13:33
|
> I am a green hand to use cppCMS. I don't know if there > is some wonderful technique to debug cppCMS App beyond the > gdb ? > It is very simple, you can run CppCMS application as any other C++ application. cppcms_run script has an option "-e" to not start application allowing you start it externally. Now after web server started just run your application in debugger as any other C++ application. i.e.: Normal run: cppcms_run hello -c config.txt Now you need cppcms_run hello -e -c config.txt And then run: gdb hello r -c config.txt Or any other debugging environment like IDE. Best, Artyom |