I've seen the same issue with eclipse, if I use classes that I compiled outside eclipse - eg using javac, ant, etc.
To get around it, you can use the "-g" compiler argument.
I'm not sure about studio5, but there might an option to build a debug version and a release version. This should be the equivilant to "-g" compiler switch.