
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?

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!
Comments(24)
Manish Upadhyay says:
February 12, 2020 at 5:49 pmCompleted Day-3 assignment.
A Belano says:
February 13, 2020 at 3:48 amDay 3 assignment is completed!
Aathirai says:
February 13, 2020 at 4:11 amCompleted Day 3 Assignment.
Marishell Cruz says:
February 13, 2020 at 7:30 amDone with assignment 3
trusha shah says:
February 13, 2020 at 8:21 amDay 3 – Completed assignment
Rishab Goyal says:
February 13, 2020 at 9:53 amCompleted Day 3 Assignment.
Brisilda says:
February 13, 2020 at 12:52 pmEpisode 3 – Demystifying Developer Tools Assignment completed!
Anuj Sahu says:
February 13, 2020 at 1:12 pmDay 3 completed Assignement
Michael Wind says:
February 13, 2020 at 1:22 pmDay 3 completed
Ankit Desai says:
February 13, 2020 at 1:35 pmCompleted Assignment for Day 3
Akhil Kulshrestha says:
February 13, 2020 at 8:00 pmCompleted Assignment for Day 3
Keerthana Ramesh says:
February 16, 2020 at 8:16 amCompleted Assignment 3
Arjinder Kaur says:
February 16, 2020 at 8:28 pmDay3 : Assignment done
Isaac Arcos Huicochea says:
February 16, 2020 at 10:22 pmDay 3 Assignment Complete
Titli Banerjee says:
February 18, 2020 at 6:05 amDay3 assignment complete
Chetan Sharma says:
February 19, 2020 at 11:25 am# ApexHoursDev
Completed Day 3 assignment
James Fody says:
February 19, 2020 at 1:56 pmCompleted Day-3 assignment.
Jaya Iyer says:
February 21, 2020 at 5:56 amCompleted Assignment 3
Pritam Pramod Dalvi says:
February 26, 2020 at 11:40 amAssignment 3 Completed.
NARESH CHANDA says:
March 13, 2020 at 9:41 amDay 3 assignment is completed!
ASHOK KUMAR PANIGRAHI says:
March 23, 2020 at 4:57 pmDay 3 – Assignment complete.
Arjinder Kaur says:
April 7, 2020 at 2:24 amSolution:
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);
}
}
Ankit Desai says:
April 10, 2020 at 8:55 pmCode 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);
Manisha Sinha says:
December 25, 2021 at 5:09 pmCompleted Day 3 Assignment