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 » U++ Library support » U++ Core » MemoryBreakpoint definition?
Re: MemoryBreakpoint definition? [message #16277 is a reply to message #16276] Thu, 05 June 2008 17:58 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
I am not quite sure how is MemoryBreakpoint related to extracting Vector Smile

Anyway, yes, it is defined/required in debug.

It works like this: Each allocation with U++ allocator has a serial number. If you leak (or heap gets corrupted), you are provided with this serial in the .log.

You can then set MemoryBreakpoint, using this serial, to catch the source of the leak (it segfaults when it is done, so you can catch it in debugger and see backtrace). In App.cpp it referenced because you can setup MemoryBreakpoint using commandline.

Anyway, I think that for extracting Vector, it is mostly irrelevant.

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: how can i use iterators with NTL?
Next Topic: A way to change what represents
Goto Forum:
  


Current Time: Mon Aug 25 22:47:47 CEST 2025

Total time taken to generate the page: 0.07656 seconds