> Programming Considerations > Developing CPLEX Applications > Eliminating Common Programming Errors > Make Local Variables Temporarily Global |
Make Local Variables Temporarily Global |
INDEX PREVIOUS NEXT |
If you are having difficulty tracking down the source of an anomaly in the heap, try making certain local variables temporarily global. This debugging trick may prove useful after your application reads in a problem file or modifies a problem object. If application behavior changes when you change a local variable to global, then you may get from it a better idea of the source of the anomaly.
Copyright © 1987-2003 ILOG, S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |