Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Improved heap diagnostics
Improved heap diagnostics [message #14822] Sun, 16 March 2008 15:47 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Debug mode heap diagnostics improved. Write before/past block checks are now more accurate.

Memory leaks now list a "memory breakpoint" value. Add this value to commandline (e.g. "--memory-breakpoint__ 107749") and the U++ will stop at corresponding "new" statement with segmentation fault (something you can catch with debugger and see the call stack). (Of course, if you are about to detect the real culprit, the code must do exactly the same thing..)

Also:

void MemoryIgnoreLeaksBegin();
void MemoryIgnoreLeaksEnd();

supress any memory allocated in between to be considered a memory leak. This can be nested and is thread specific.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: KDE early fix
Next Topic: plugin/zip
Goto Forum:
  


Current Time: Fri Apr 26 17:46:10 CEST 2024

Total time taken to generate the page: 0.01867 seconds