ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Debug functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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, etc.).
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()
Business / UI classification: Neutral code
Component: wd290vm.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help