Article # 494, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
What flags should I set for the ec command in Swat?
Q. What flags should I set for the ec command in Swat? A. When developing and testing and app, turning on the various ec flags is an incredibly simply way to force many lurking bugs to reveal themselves. The minimum ec setting you should use are +normal, +segment, +high. These will catch most common mistakes, like unlocking a block of memory and then passing, as a parameter, pointer into that block of memory. +lmemMove and +unlockMove are also good as they cause the block to move around more often, which will reveal bugs such as pointers to unlocked blocks. If you are using VM files, +vmemDiscard is good.