• Nikhil Shringarpure 17
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi,  thanks for reading...

 

I'm having trouble finding where some of my code is going wrong.

 

The code is uploaded from the IDE just fine but when executed via a command button:

 

 

 

apex:commandButton action="{!shop}" value="Buy"

 

 The code leads to a "is down for maintenance ".

 

When I was an undergrad writing code; I used to be able to write to stdout... to see how far my code was going before it went awry...

 

Is there a way to do this in Apex for visualforce pages?

 

Thanks,

 

Eric