HI, Has anyone tried compiling webkit using -g option. When i tried the debug build by setting the flag using ./set-webkit-configuration , i get a build with lots of assert and log message which i donot need. I just want a build which is similar to release build but has the debug information in it for debugging it with gdb. Has anyone tried this ? regards, Srinvas Rao. M -- Srinivas Rao M Hamse <http://msrinirao.blogspot.com>
Hello, On 2/1/08, Srinivas Rao M Hamse <msrinirao@gmail.com> wrote:
HI, Has anyone tried compiling webkit using -g option. When i tried the debug build by setting the flag using ./set-webkit-configuration , i get a build with lots of assert and log message which i donot need. I just want a build which is similar to release build but has the debug information in it for debugging it with gdb.
Has anyone tried this ?
Have tried to build webkit with the following option: WebKit/WebKitTools/Scripts/build-webkit --debug Regards,
regards, Srinvas Rao. M
-- Srinivas Rao M Hamse
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
-- Olivier DOLE Pleyo Software Engineer
On 02/02/2008, at 00:18, Oliver Dole wrote:
Hello,
On 2/1/08, Srinivas Rao M Hamse <msrinirao@gmail.com> wrote:
HI, Has anyone tried compiling webkit using -g option. When i tried the debug build by setting the flag using ./set-webkit-configuration , i get a build with lots of assert and log message which i donot need. I just want a build which is similar to release build but has the debug information in it for debugging it with gdb.
Has anyone tried this ?
Have tried to build webkit with the following option: WebKit/WebKitTools/Scripts/build-webkit --debug
That does the same thing as running 'set-webkit-configuration --debug' followed by 'build-webkit', that is it also unsets NDEBUG which leads to assertions and logging code being compiled in. I think the answer to the original question will depend on which port of WebKit (and thus which build system: Xcode, Visual Studio, Qmake, Autotools, or Bakefile) they are using. Kind regards, Mark
Hi Mark/Oliver
That does the same thing as running 'set-webkit-configuration --debug' followed by 'build-webkit', that is it also unsets NDEBUG which leads to assertions and logging code being compiled in. I think the answer to the original question will depend on which port of WebKit (and thus which build system: Xcode, Visual Studio, Qmake, Autotools, or Bakefile) they are using.
Precisely the behavior with these two options are same. I want to disable NDEBUG from my build. I am trying to complie the r26699 build on linux with gtk port option on Linux. Just want the line number information for debugging with gdb. ./build-webkit --gtk --debug regards, Srinivas Rao. M
Kind regards,
Mark
-- Srinivas Rao M Hamse <http://msrinirao.blogspot.com>
On Feb 1, 2008, at 5:42 AM, Srinivas Rao M Hamse wrote:
Hi Mark/Oliver
That does the same thing as running 'set-webkit-configuration --debug' followed by 'build-webkit', that is it also unsets NDEBUG which leads to assertions and logging code being compiled in. I think the answer to the original question will depend on which port of WebKit (and thus which build system: Xcode, Visual Studio, Qmake, Autotools, or Bakefile) they are using.
Precisely the behavior with these two options are same. I want to disable NDEBUG from my build.
I am trying to complie the r26699 build on linux with gtk port option on Linux. Just want the line number information for debugging with gdb.
./build-webkit --gtk --debug
That revision is months old, currently trunk is at r29900 or some such, we can't really help you unless what you're building is at least vaguely up to date sorry :( --Oliver
regards, Srinivas Rao. M
Kind regards,
Mark
-- Srinivas Rao M Hamse _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
On 02/02/2008, at 00:42, Srinivas Rao M Hamse wrote:
Hi Mark/Oliver
That does the same thing as running 'set-webkit-configuration --debug' followed by 'build-webkit', that is it also unsets NDEBUG which leads to assertions and logging code being compiled in. I think the answer to the original question will depend on which port of WebKit (and thus which build system: Xcode, Visual Studio, Qmake, Autotools, or Bakefile) they are using.
Precisely the behavior with these two options are same. I want to disable NDEBUG from my build.
I am trying to complie the r26699 build on linux with gtk port option on Linux. Just want the line number information for debugging with gdb.
./build-webkit --gtk --debug
The easiest way I can think of to do what you want would be to make a small change to WebKit.pri. Changing: CONFIG(release) { DEFINES += NDEBUG } to: DEFINES += NDEBUG will lead to both debug and release builds having assertions and logging disabled. If you then build for debug, you should have symbols in your build. It may be possible to have build-webkit do this via a command-line argument, but I'm not sure on the specifics of that. Hope this helps. Mark
participants (4)
-
Mark Rowe
-
Oliver Dole
-
Oliver Hunt
-
Srinivas Rao M Hamse