Join Duard Lynn Davis for an in-depth discussion in this video Debugging demo, part of Learning Salesforce.com Development.
- [Instructor] Debugging and using the developer console.…So one of the things I want to do is…I need to debug my code.…So the first thing I'ma do…is I'm going to go to the code,…I'm actually going to put some system.debug statements…in the code so that I can actually see what's going on.…So we go over here to the code,…I'm going to click on my button…so I'm going to go to my button controller class…and one of the things I want to do is I want to make sure…that my query statement is what I expect it to be.…So I'm going to say system.debug…and again so that I can easily find my statement…I'm going to put my query string,…so I'll go ahead and save that.…
And then the other thing I want to do…is in the account loader.…I would like to see the accounts that we're processing.…Now, did this intentionally,…notice that we got a schedule class has jobs pending.…Remember we scheduled this class to execute in our ORG,…so we need to go back and delete that scheduled class…otherwise we cannot update it.…So I'm going to go back over to Salesforce,…
AuthorDuard Lynn Davis
- How Apex works
- Bulkification and triggers
- Systematically debugging your code
- Sets, lists, and maps
- Trigger and trigger handlers
- Batch Apex
- Debugging and logging
Skill Level Intermediate
1. Introduction to Environment
2. Sets, Lists, and Maps
3. Trigger and Trigger Handlers
4. Batch Apex
5. Debugging and Logging
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.