Hi Smitha,
regarding your question in 4): Yes, there is a debugger that you can use. Please refer to the following section in the documentation of SAP Solutions OnDemand Studio (1305) -> Developer Desktop -> Debugging -> Debugging Quick Guide.
Best regards,
Kornelia