openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damjan Jovanovic <dam...@apache.org>
Subject AOO debugging revamp
Date Wed, 25 Jan 2017 17:35:15 GMT
Hi

For a while I've noticed how gbuild modules don't have debug symbols unless
built with the maximum debug level ("./configure --enable-debug" globally
or "build debug=true" per module) which also produces oceans of log
messages we usually don't want.

In r1780246, I've finally changed debugging in gbuild to match how dmake
works: --enable-symbols and --enable-crashdump now also add debug symbols
to gbuild modules like they do to dmake modules, and the
--enable-symbols=small option is also implemented for GCC and Clang (sorry
Windows developers, MSVC doesn't seem to have it). The only extra benefit
of --enable-debug on top of this now, is that it disables compiler
optimizations - should we disable them for --enable-symbols too?

In r1780248 I've also made Java's .class files get full debugging info
whenever C++ does.

This should vastly improve running AOO under a debugger, as we get nice
line numbers and variable names for absolutely everything :-).

Damjan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message