Episode 3 – Demystifying Developer Tools

In this episode we will unravel the mysteries around the tools required for developing and debugging your code in Salesforce. Join us as you embark on this wonderful journey to become a champion Salesforce developer.

Agenda

  • Debugging Code in Salesforce
  • Introduction to Integrated Developer Environment (IDE)
  • Capabilities of various IDEs
  • Demo
  • Q & A

Most importantly don’t break a leg if you are overwhelmed with the pace of the live sessions. All Apex Hours for Student sessions will be recorded and will be available on our YouTube channel. Please Subscribe our YouTube Channel

Please register here and follow our ApexHours website to get more notification.

Developer Console

It’s available in Enterprise, Performance, Unlimited, Developer and Database.com editions
What you can do using Developer Console?
1) Debugging and Troubleshooting
2) Editing and navigating Source Code
3) Testing and Validating Performance
4) Executing Queries (SOQL and SOSL) and etc

Workbench

  • It is web-based suite of tools
  • Workbench includes robust support for the Force.com Partner, Bulk, Rest, Streaming, Metadata, and Apex API
  • Allows users to describe, query, manipulate, and migrate both data and metadata in Salesforce

VS Code

Please check this post to learn about how to setup VsCode. Check below recording to learn about how to setup VsCode

What is Debugging?

 What is Debugging
What is Debugging

Recording

Episode 3 will be presented by Purshottam Bhaigade on Feb 12, 2020 at 6 PM Indian Standard Time.

Further Learning

  • Developer Console Basics
  • Package.xml Metadata Management
  • Org Development Model
  • Quick Start: Visual Studio Code for Salesforce Development

Assignment

Complete below assignment to win $1000 Salesforce Voucher. Click here for rule.

•Install VS code on your local machine along with Salesforce Extension.
•Create Project for Assignment you had created yesterday(Introduction to Apex-Part 2).
•Fetch MathCalculator class on your local machine using VS Code
•Add subtract() method which will accept 2 integer as parameter and return subtraction.
•Save this changes to your Salesforce org using VS code.

(Hint: Implement subtract() as private static methods invoked by a public instance doMath() method. The doMath() method will be invoked from the Execute Anonymous window)

Don’t forget to register for our next session on SOQL and SOQL. Check this post for all other session detail.

Please note that we have limit of 500 attendees that can join the online sessions. However, recording will be posted on our YouTube channel. Make sure to subscribe our YouTube channel to get notification for video upload.

So, learn at your pace and free will and ace your journey to Salesforce!

5,279 total views, 5 views today

23 thoughts on “Episode 3 – Demystifying Developer Tools”

  1. Solution:

    public class MathCalculator {

    private static integer add ( integer a, integer b ) {
    return a+b;
    }

    private static integer multiply ( integer a, integer b ) {
    return a*b;
    }

    private static integer subtract ( integer a, integer b ) {
    return a-b;
    }

    public MathCalculator() {
    }

    private static void printOutput ( integer output ) {
    system.debug(output);
    }

    public void doMath ( integer a, integer b, string operator ) {

    integer value = 0;

    if(operator == ‘+’) {
    value = add ( a, b );
    }

    else if(operator == ‘*’) {
    value = multiply ( a, b );
    }

    else if(operator == ‘-‘) {
    value = subtract ( a, b) ;
    }

    MathCalculator.printOutput(value);
    }
    }

    Reply
  2. Code for Assignment Day 3
    ——————————–

    public class MathCalculator {
    private static Integer add(Integer a, Integer b){
    return a+b;
    }
    private static Integer multiply(Integer a, Integer b){
    return a*b;
    }

    private static Integer subtract(Integer a, Integer b){
    return a-b;
    }

    private static void printOutput(Integer a, Integer b){
    System.debug(‘Summation of 2 values:’ + add(a,b));
    System.debug(‘Multiplication of 2 values:’ + multiply(a,b));
    System.debug(‘Substraction of 2 values:’ + subtract(a,b));
    }
    public void doMath(Integer a, Integer b){
    printOutput(a, b);
    }

    }

    In Developer Console –> Open Execute Anonymous Window
    ————————————————————————
    MathCalculator mathCalculator = new MathCalculator();
    mathCalculator.printOutput(5,3);

    Reply

Leave a Comment