Title | Debugging pool classes are hard to use |
Status | closed |
Priority | nice |
Assigned user | Richard Brooksby |
Organization | Ravenbrook |
Description | The debugging pool classes are hard to use because you have to recompile your code in order to take advantage of them. You end up with something like this: if (NDEBUG) { res = mps_pool_create(&pool, arena, mps_class_abc(), ...); } else { res = mps_pool_create(&pool, arena, mps_class_abc_debug(), &debug_options, ...); } It would be nice if it were possible to turn on debugging features in a more dynamic way, for example via an environment variable. |
Analysis | Compare "MallocGuardEdges" and other enviroment variables that affect the behaviour of malloc. |
How found | inspection |
Evidence | None |
Observed in | 1.110.0 |
Created by | Gareth Rees |
Created on | 2012-10-31 16:59:53 |
Last modified by | Gareth Rees |
Last modified on | 2016-03-07 09:30:16 |
History | 2012-10-31 GDR Created. |
Change | Effect | Date | User | Description |
---|---|---|---|---|
181994 | closed | 2013-05-20 13:58:25 | Richard Brooksby | Merging branch/2013-05-01/keyword-arguments back to master. |