+ Start a Discussion
Viraj MViraj M 

Can we do line by line debugging?

Can we do line by line debugging?I mean can we do debugging how we do in IDE in Eclipse and Visual Studio

Hi Viraj,
The Apex Debugger extends the Force.com IDE plug-in for Eclipse and does most of the things you expect a debugger to do.Use it to:
Set breakpoints in Apex classes and triggers.
  • View variables, including sObject types, collections, and Apex System types.
  • View the call stack, including triggers activated by Apex Data Manipulation Language (DML),method-to-method calls and variables.
  • Interact whi global classes, exceptions, and triggers from your installed managed packages.(When you inspect objects that have  managed types that aren’t visible to you, only global variables are displayed in the variable inspection panel.)
  • Complete standard debugging actions, including step into, over, and out, and run to breakpoint.
  • Output your results to the Console window.
User-added image