Debug new

id: debug-new-266-5673172
title: Debug new
text: Debug_new refers to a technique in C++ to overload and/or redefine operator new and operator delete in order to intercept the memory allocation and deallocation calls, and thus debug a program for memory usage. It often involves defining a macro named DEBUG_NEW, and makes new become something like new(__FILE__, __LINE__) to record the file/line information on allocation. Microsoft Visual C++ uses this technique in its Microsoft Foundation Classes. There are some ways to extend this method to avo
brand slug: wiki
category slug: encyclopedia
description: Technique in C++ to debug memory issues
original url: https://en.wikipedia.org/wiki/Debug_new
date created:
date modified: 2022-01-07T21:21:48Z
main entity: {"identifier":"Q5248641","url":"https://www.wikidata.org/entity/Q5248641"}
image:
fields total: 13
integrity: 14

Related Entries

Explore Next Part