You can view STL code for a particular Subroutine, whether off-line or in Online Test mode.
To view STL online test values after downloading a project to a controller, open STL View, then press F9 to enter online test mode.