ILOG CPLEX 11.0 User's Manual > Programming Considerations > Developing CPLEX Applications > Eliminating Common Programming Errors > Make Local Variables Temporarily Global

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.