Debugging
Posted: Thu Feb 17, 2011 3:30 pm
I thought this was rather trivial but I am trying to figure out the best way to deal with this. Suppose RATS throws up an error like this:
The Error Occurred At Location 5041 of loop/block
Line 224 of loop/block
What can be the best and a quick way to get the line numbers to check and debug? Does it help if every line not used is commented by using * ? I know in Matlab, the exact line number corresponds to the matlab editor when the codes are written with or without "blank" lines. The same is true for GAUSS; I can find the exact line number using an editor like notepad++.
The Error Occurred At Location 5041 of loop/block
Line 224 of loop/block
What can be the best and a quick way to get the line numbers to check and debug? Does it help if every line not used is commented by using * ? I know in Matlab, the exact line number corresponds to the matlab editor when the codes are written with or without "blank" lines. The same is true for GAUSS; I can find the exact line number using an editor like notepad++.