PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
dbgStartMemoryDiff (Function)
In french: dbgDébutDiffMémoire
Starts a difference operation of the memory used by the application. This operation will be ended during the call to dbgEndMemoryDiff.
This debugging method is used to isolate the memory resources of an operation that should be neutral for the memory. This allows you to correct the code and to add the potential missing freeing statements (queries no longer used, global object no longer used during the rest of the execution, ...).
Example
// Beginning of the memory diff
// before the operation that should be neutral for the memory
dbgStartMemoryDiff()

...

// Operation that should be neutral for the memory
...

// Save the memory dump
// after the operation that should be neutral for the memory
dbgEndMemoryDiff()
Syntax
dbgStartMemoryDiff()
Component : wd240vm.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment