Your message dated Mon, 10 Jul 2006 19:03:54 +0930
with message-id <[EMAIL PROTECTED]>
and subject line Bug#377567: libwxgtk2.6-dbg does not create working debug
environment
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: libwxgtk2.6-dbg
Version: 2.6.3.2.1.1
Severity: normal
Even with libwxgtk2.6-dbg installed and
g++ `wx-config --debug --cxxflags` `wx-config --debug --libs` ...
it does not create a working wxdebug environment with things like
wxUSE_MEMORY_TRACING defined.
/usr/lib/wx/include/gtk2-unicode-debug-2.6/wx/setup.h:
#define wxUSE_DEBUG_CONTEXT 0
#define wxUSE_MEMORY_TRACING 0
#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
#define wxUSE_DEBUG_NEW_ALWAYS 0
These suggest that while the library wasn't stripped, it was not compiled
for debugging as it should have been.
try the sample example/samples/memcheck.cpp. Even though it is a debugging
example, it does nothing even after you fix the makefile to use
"wx-config --debug" instead of "wx-config"
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages libwxgtk2.6-dbg depends on:
ii libc6-dev 2.3.6-7 GNU C Library: Development Librari
ii libwxbase2.6-dbg 2.6.3.2.1.1 wxBase library (debug) - non-GUI s
ii wx2.6-headers 2.6.3.2.1.1 wxWidgets Cross-platform C++ GUI t
-- no debconf information
--- End Message ---
--- Begin Message ---
On Mon, Jul 10, 2006 at 01:21:31AM -0400, Mark Whitis wrote:
> Even with libwxgtk2.6-dbg installed and
> g++ `wx-config --debug --cxxflags` `wx-config --debug --libs` ...
> it does not create a working wxdebug environment with things like
> wxUSE_MEMORY_TRACING defined.
>
> /usr/lib/wx/include/gtk2-unicode-debug-2.6/wx/setup.h:
> #define wxUSE_DEBUG_CONTEXT 0
> #define wxUSE_MEMORY_TRACING 0
> #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
> #define wxUSE_DEBUG_NEW_ALWAYS 0
>
> These suggest that while the library wasn't stripped, it was not compiled
> for debugging as it should have been.
All the useful debugging features are enabled. Don't use these, they
are braindead, reporting false results and infecting clean code with
messy workarounds to avoid them.
> try the sample example/samples/memcheck.cpp. Even though it is a debugging
> example, it does nothing even after you fix the makefile to use
> "wx-config --debug" instead of "wx-config"
So we can probably remove this one along with the others too.
Far better tools for this job exist, on every platform supported
by wx. Use them if you are serious about double checking your
memory management.
cheers,
Ron
--- End Message ---