Salesforce Lightning Inspector: New developer tool for google chrome

Salesforce Lightning Inspector: New developer tool for google chrome

Install it here
Debugging your web apps is one of the most difficult task for any web developer. One of the main reason behind the popularity of google chrome browser among web developer is its great set of Developer tools. Even with great set of tools available, developers still face challenges with apps that depend on DOM generation, especially the apps that built with Lightning Components.

With increase demand of apps that provide beautiful user experience and are compatible with desktop and mobile devices,Lightning components come to play. With the help of Lightning  components,app builders create self-contained and reusable units which once created let you build cross-device application at lightning fast speed with just drag and drop.

In order to debug these lightning component application, we also have a new Salesforce Lightning Inspector. With Salesforce Lightning Inspector, you will get access to wealth of data about your lightning application and its components.

Benefits of using Lightning Inspector:

  • You will able to navigate and inspect the structure of your components.
  • Component creation time graph will help to identify performance bottlenecks.
  • You will be able to debug server interactions.
  • You will be able to navigate through component tree,inspect components and their associated DOM elements.
  • You will be able to track event firing and handling sequences.

Now let’s play with our new tool:

Once you installed Salesforce Lightning Inspector, you will notice a new Lightning tab added at the top of the chrome DevTools.

salesforcelightning

 

As you can see, the Lightning tab is divided into six tabs:

Component Tree: this tab is used to inspect objects and values.

Performance Tab : helps to identify which components are slower and why.

Event log: inspect the events which are either triggered by code or by user interactions.

Actions: you can view and test the status of server-side actions.

Storage: it tells us about the client-side storage for Lightning applications.

Transactions: see the recorded state(s) .

Please Note that Lightning component inspector is used to develop Lightning components, and they only work when we view an .app or .cmp file.

Let’s talk about each of these tabs in detail:

Component Tree tab: This tab provides an overview of the objects that make up our application, just like we have elements tab in the traditional Chrome Dev tools. However, the component tab also gives the ability to inspect individual objects in their “code state” without the overhead of the rest of the DOM. You can also view the current values of the Aura attributes, as we select individual nodes. This is very helpful and we don’t have to dig deep under the Network tab to find the return values for the API or database calls or using
console.log(myData)

componenttab

Performance Tab: This tabs helps to identify which components are slower and also where in the component hierarchy the slowness occurred. In the Standard Profiles and timeline tabsof the DevTools only tells us about the general info related to our Lightning apps like size,loading/rendering time and potential performance hot spots which also includes framework and DOM levels.
But we can’t see information related to individual pieces that make up the component. With performance tab inside Lightning component inspector we can isolate inspection to the component code level.

performancetab

 

Transactions Tab: With the help of transactions tab, we can view the recorded state(s) during parts of the application’s execution. The transaction data includes the amount of XHR’s that were sent, the actions that were called and the time those actions took place.

transactionstab
Event Log tag: An important part of Lightning components is its use of events and triggers. Up till now, we’ve been left with debugger statements, breakpoints and boring console.log() statement ti debug events and triggers. With the help of event tab, we can inpect the events being triggered either by code or human interaction. We can also view which component handled the event using this tab.

eventtab

 

Actions Tab:Lightning components are client side entities, but these components interact with Apex controllers.So far we never had a chance to see when an Apex controller is queued,running or has finished firing. But with the help of Actions tab under Lightning Inspector, we can see the status of these server-side actions. We can also test the fault tolerance of our client-side component code by modifying server-side component results. For e.g. we want to see what would happen if an action failed to execute,or it returned an error or returned an unexpected value.

actionstab

 

Storage tab: As a web developer , you know that one of the most important reasons of performance bottlenecks is the trip to ther server. The Storage tab reveals the client-side storage for Lightning applications.

storagetab

 

Actions which are marked as storable are cached in the actions store. Whenever a storable action runs, it will use the value from actions store if available which will avoid a server trip altogether which will make your components run faster. With the help of storage tab you can see view which actions are cached, the size of each cached action and even where the cache resides.

What’s next:
Steps to install the salesforce Lightning Inspector 
Learn about Salesforce Lightning https://mytutorialrack.com/salesforce-lightning-framework/

This Post Has 123 Comments

  1. berkey

    It’s very trouble-free to find out any topic on web as compared to textbooks, as I found this article at this site.|

  2. Once I initially commented I clicked the -Notify me when new feedback are added- checkbox and now every time a comment is added I get four emails with the same comment. Is there any method you possibly can take away me from that service? Thanks!

  3. Buddy Feinblatt

    You should take part in a tournament for one of the highest quality blogs online. I am going to recommend this website!

  4. Johnny

    I have read so many articles regarding the
    blogger lovers however this post is actually a
    nice paragraph, keep it up.

  5. each time i used to read smaller articles which also
    clear their motive, and that is also happening with this paragraph which I am reading now.

  6. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that
    automatically tweet my newest twitter updates. I’ve been looking for a
    plug-in like this for quite some time and was hoping maybe you would have some experience with something like this.
    Please let me know if you run into anything. I truly enjoy reading your blog and I
    look forward to your new updates.

  7. the feed

    This blog was… how do I say it? Relevant!! Finally I’ve found something that helped me. Thanks a lot!|

  8. Thanks for another informative web site. The place else could
    I get that kind of info written in such a perfect manner?
    I’ve a venture that I am just now working on, and I’ve been at the
    look out for such info.

  9. Susanna

    I’m really impressed with your writing skills and also with the layout on your blog.
    Is this a paid theme or did you modify it yourself?

    Either way keep up the excellent quality writing, it is rare to see a nice blog like this
    one these days.

  10. Magaret

    Hello There. I found your blog using msn. This is a very
    well written article. I’ll be sure to bookmark it and return to read more
    of your useful info. Thanks for the post. I will certainly comeback.

  11. layarkaca21 lk21

    This is very attention-grabbing, You are an overly
    professional blogger. I have joined your feed and look ahead to in the hunt for more of your fantastic post.

    Also, I’ve shared your web site in my social
    networks

  12. I believe everything published was very logical.

    However, what about this? suppose you were to write a killer title?
    I mean, I don’t wish to tell you how to run your website, but suppose you added a headline that grabbed a person’s attention? I mean Salesforce
    Lightning Inspector: New developer tool for google chrome is kinda boring.

    You could glance at Yahoo’s home page and note how they create post headlines to grab viewers to open the links.
    You might try adding a video or a picture or two to get
    readers interested about everything’ve written. Just
    my opinion, it would bring your blog a little
    bit more interesting.

  13. Its like you read my mind! You appear to know so much about this, like you wrote the
    book in it or something. I think that you can do with some pics to drive the message home
    a little bit, but instead of that, this is
    great blog. A great read. I will definitely be back.

  14. layarkaca21 lk21

    I am regular reader, how are you everybody? This piece of writing
    posted at this web site is genuinely fastidious.

  15. feed

    Hey! Do you use Twitter? I’d like to follow you if that would be okay. I’m undoubtedly enjoying your blog and look forward to new posts.|

  16. Lelia

    Hello mates, how is all, and what you would like to say
    regarding this piece of writing, in my view its in fact amazing for me.

  17. Hi, I believe your website could be having web browser compatibility problems.

    When I look at your website in Safari, it looks fine however when opening in Internet Explorer,
    it’s got some overlapping issues. I merely wanted to give you
    a quick heads up! Apart from that, excellent website!

  18. Aileen

    Wow! This blog looks exactly like my old one! It’s
    on a completely different subject but it has pretty
    much the same page layout and design. Wonderful choice of colors!

  19. thefeed

    It’s an amazing post for all the internet people; they will get advantage from it I am sure.|

  20. Howdy! I know this is kinda off topic nevertheless I’d figured I’d ask.
    Would you be interested in trading links or maybe
    guest authoring a blog article or vice-versa? My website
    addresses a lot of the same topics as yours and I think we could greatly benefit from each other.
    If you’re interested feel free to shoot me an e-mail.
    I look forward to hearing from you! Superb blog by
    the way!

  21. layarkaca21

    I like the helpful information you provide in your articles.
    I will bookmark your weblog and check again here frequently.
    I am quite sure I’ll learn many new stuff right here!
    Best of luck for the next!

  22. thefeed

    Really when someone doesn’t understand afterward its up to other viewers that they will assist, so here it occurs.|

  23. My relatives always say that I am killing my time here at web,
    however I know I am getting familiarity all the time by reading
    such good articles or reviews.

  24. layarkaca21

    This excellent website really has all the information and facts I wanted
    concerning this subject and didn’t know who to ask.

  25. layarkaca21 semi

    I delight in, result in I found exactly what I was taking a look
    for. You’ve ended my four day lengthy hunt! God Bless you man. Have a nice day.
    Bye

  26. I am in fact delighted to read this web site posts
    which contains tons of valuable facts, thanks for providing these
    data.

  27. layarkaca21 xxi

    Hey! Someone in my Facebook group shared this website with us so I came to take a
    look. I’m definitely enjoying the information. I’m book-marking and
    will be tweeting this to my followers! Exceptional blog and
    terrific design and style.

  28. layarkaca21 xxi

    I know this website offers quality dependent content and
    extra stuff, is there any other web page which offers these data in quality?

  29. Everyone loves what you guys are up too. This kind of clever work and exposure!
    Keep up the excellent works guys I’ve added you guys to blogroll.

  30. Julianne

    When someone writes an post he/she retains the plan of a user in his/her mind
    that how a user can be aware of it. So that’s why this piece of writing is amazing.
    Thanks!

  31. layarkaca21 semi

    What’s up to all, as I am genuinely keen of reading this weblog’s post to be updated
    regularly. It carries nice stuff.

  32. layarkaca21 semi

    Your style is so unique compared to other folks I have
    read stuff from. Thank you for posting when you
    have the opportunity, Guess I will just book mark this site.

  33. I always used to read piece of writing in news papers but now as I am a
    user of internet therefore from now I am using net for posts, thanks to
    web.

  34. Mammie

    It’s hard to find experienced people about this subject, however,
    you seem like you know what you’re talking about!
    Thanks

  35. Excellent beat ! I wish to apprentice even as you amend your site,
    how could i subscribe for a weblog web site?
    The account aided me a acceptable deal. I had been tiny bit acquainted
    of this your broadcast offered brilliant transparent concept

  36. Way cool! Some extremely valid points! I appreciate you writing this article and also the rest of the site is also really good.

  37. Unquestionably believe that which you stated. Your favorite reason appeared to be on the net the easiest thing to be aware of.
    I say to you, I definitely get annoyed while people consider worries that they plainly do not know about.

    You managed to hit the nail upon the top as well as defined out the whole thing without having side-effects ,
    people can take a signal. Will probably be back to get more.
    Thanks

  38. Geraldine

    Thanks for sharing your thoughts about dog price.
    Regards

  39. Murray

    Admiring the commitment you put into your site and in depth information you
    offer. It’s great to come across a blog every once in a while that isn’t the same outdated rehashed material.
    Wonderful read! I’ve bookmarked your site and I’m including your RSS feeds to my Google account.

  40. Kourtney

    Good way of describing, and nice article to take facts on the topic of my presentation focus, which i am going
    to deliver in institution of higher education.

  41. Florene

    Hi superb blog! Does running a blog similar to this take a great deal of work?
    I have very little knowledge of programming however I had been hoping to start my own blog in the near future.
    Anyhow, if you have any suggestions or techniques for new blog owners please share.
    I understand this is off topic but I simply needed to ask.
    Many thanks!

  42. Crystle

    At this time it appears like Drupal is the preferred blogging platform out there right now.

    (from what I’ve read) Is that what you’re using on your blog?

  43. Arlene

    My spouse and I absolutely love your blog and find almost all of your post’s to be just what I’m looking for.
    Would you offer guest writers to write content for yourself?
    I wouldn’t mind creating a post or elaborating on most of the subjects you write concerning
    here. Again, awesome web log!

  44. Trudi

    Hi Dear, are you really visiting this site daily,
    if so afterward you will without doubt obtain fastidious
    experience.

  45. Deana

    Hi there! I know this is kinda off topic but I was wondering which blog platform are
    you using for this site? I’m getting fed up
    of WordPress because I’ve had problems with hackers and I’m
    looking at alternatives for another platform. I would
    be fantastic if you could point me in the direction of
    a good platform.

  46. layarkaca21 semi

    Hi! Would you mind if I share your blog with my zynga group?
    There’s a lot of folks that I think would really appreciate your content.
    Please let me know. Thanks

  47. you are truly a good webmaster. The website loading velocity is incredible.

    It kind of feels that you are doing any unique
    trick. Also, The contents are masterwork. you’ve done a wonderful task in this matter!

  48. Good way of describing, and fastidious paragraph to
    take facts regarding my presentation topic, which i am going to deliver
    in institution of higher education.

  49. Have you ever considered creating an ebook or guest authoring
    on other sites? I have a blog based on the same topics you discuss
    and would love to have you share some stories/information. I know my viewers
    would enjoy your work. If you’re even remotely
    interested, feel free to send me an email.

  50. Hey! This is my 1st comment here so I just wanted to
    give a quick shout out and say I truly enjoy reading through your articles.
    Can you suggest any other blogs/websites/forums that go over the same subjects?
    Appreciate it!

  51. Rashad

    Asking questions are really pleasant thing if you are not understanding something totally, but this article gives fastidious understanding yet.

  52. Excellent blog here! Also your site loads
    up fast! What host are you using? Can I get your affiliate link to your host?
    I wish my website loaded up as quickly as yours lol

  53. Eugenia

    This included not only application-based cheating, but also collusion among
    players.

  54. Angus

    This ensures that you are producing the most knowledgeable picks when it
    comes to sports betting on the net.

  55. Hi, I do think your blog may be having browser compatibility issues.
    When I look at your website in Safari, it looks fine but
    when opening in IE, it’s got some overlapping issues. I just wanted to give you a quick heads
    up! Besides that, fantastic blog!

  56. Greetings I am so glad I found your web site, I really found you by mistake, while
    I was browsing on Yahoo for something else, Nonetheless I am
    here now and would just like to say thanks a lot for a
    tremendous post and a all round exciting blog (I also love
    the theme/design), I don’t have time to browse it all
    at the minute but I have saved it and also added your RSS feeds, so when I have
    time I will be back to read much more, Please do keep up the awesome job.

  57. check iphone imei

    Wow, superb weblog format! How long have you ever been running
    a blog for? you made running a blog glance easy.
    The entire look of your site is magnificent, let alone
    the content material!

  58. Chau

    Wonderful, what a webpage it is! This blog presents valuable information to us,
    keep it up.

  59. My partner and I absolutely love your blog and
    find a lot of your post’s to be just what I’m looking for.
    Do you offer guest writers to write content to suit your
    needs? I wouldn’t mind producing a post or elaborating on a number of the subjects
    you write with regards to here. Again, awesome blog!

  60. Ruben

    The bottom line is that a tie bet should not
    be a aspect of any optimal baccarat tactic.

  61. Louis

    I all the time used to read piece of writing in news papers but
    now as I am a user of internet thus from now I am using
    net for posts, thanks to web.

  62. Dino

    So in our example, Arsenal are at odds of 5/four, which means the numerator is five and
    the denominator is four.

  63. Hi, this weekend is good in favor of me, since this moment i
    am reading this impressive educational piece of writing here
    at my residence.

  64. layarkaca21

    wonderful submit, very informative. I ponder why
    the opposite specialists of this sector do not understand this.
    You must continue your writing. I am sure, you have a huge readers’ base already!

  65. Frances

    Please note that lots of games can fall into more than one particular of these
    categories.

  66. Dann

    In the 1937 comedic short story “All’s Nicely with Bingo”, by British
    writer P.

  67. Gilda

    The exceptions are Idaho , Massachusetts , Michigan , and Texas .

  68. Josh

    Congress can regulate sports gambling directly, but if it elects not to do so, each
    and every state is free of charge to act on its own.

  69. Shona

    If the player cannot reach to place a bet themselves, they must announce the bet to the dealer.

  70. Chloe

    In quick, the much more you know about any sport, the improved possibility you have to win.

  71. Heya i am for the primary time here. I came across this board and I
    find It really useful & it helped me out much.
    I hope to provide something back and aid others such as you helped me.

  72. Bridget

    We will do so by sending you information and facts
    about the updated terms on a separate window which will notify you when you attempt
    to next log in.

  73. Williemae

    Even so, these odds and lines are hardly static and can alter
    fairly drastically ahead of game time.

  74. Randy

    The handicapping and odds info found on SportsBettingDime.com is strictly for entertainment purposes.

  75. Horacio

    Bonus Code WMILLION. Cost-free entry to RaceBets Million provided inside
    24 hours.

  76. Elisa

    They completely accept that they’re going to lose funds in the extended run, and
    this doesn’t bother them at all.

  77. Fidel

    An occasion with low betting odds is extra likely to come about
    than one with higher betting odds.

  78. Joie

    If an occasion is hugely likely to take place, the odds will be decrease.

  79. Fawn

    “It’s the most irrational marketplace I ever saw,
    ” says Collin Sherwin, a Tampa, Florida–based gambling writer who covers the market for Vox Media’s DraftKings Nation.

  80. Merry

    The “Welcome bonus” is limited to one bonus per household.

  81. Stuart

    As you’d envision, your odds naturally continue
    to reduce as your hand increases in value.

  82. Margaret

    Adhere to our easy actions to understand to use the odds to your benefit.

  83. Bettye

    Japanese kenjutsu (“techniques of the sword”) became kendō
    (“the way of the sword”).

  84. Mark

    But when youngsters are participating in sport, they are not pondering about how it will
    make them much less probably to get involved with drugs.

  85. Madie

    Stay up to date in our Exactly where to Bet on Sports in the
    USA section.

  86. Cole

    Persons beneath 21 years of age could not enter gaming area unless licensed
    as personnel.

  87. Arielle

    Amazing! This blog looks exactly like my old one!
    It’s on a entirely different topic but it has pretty much the same layout and design. Excellent
    choice of colors!

  88. bit.ly

    I all the time used to study article in news papers but now
    as I am a user of net thus from now I am using net for content, thanks to web.

  89. Roland

    Hello it’s me, I am also visiting this web site daily,
    this web site is actually fastidious and the viewers are really sharing pleasant thoughts.

  90. Dramanice

    this is how work is done! i would recommend every rising bloger to get inspired by this blog

  91. Damaris

    Right here is the perfect web site for everyone who really wants to understand this topic.
    You know a whole lot its almost hard to argue with
    you (not that I personally will need to…HaHa).
    You definitely put a brand new spin on a subject which has been written about for ages.
    Wonderful stuff, just great!

  92. Merle

    I’d like to find out more? I’d love to find out more
    details.

  93. Jolie

    We’re a group of volunteers and opening a new scheme in our community.
    Your web site provided us with valuable info to work on. You have
    done a formidable job and our whole community will be thankful to you.

  94. Kiara

    I visited multiple websites except the audio feature for audio songs present at
    this website is actually wonderful.

  95. Tanisha

    Hi, I believe your web site could be having internet
    browser compatibility issues. When I look at your web site in Safari, it
    looks fine however when opening in Internet Explorer, it’s got some overlapping
    issues. I merely wanted to provide you with a quick heads up!
    Besides that, wonderful site!

  96. Mark

    I think the admin of this website is actually working hard in favor of his
    site, for the reason that here every material is quality based material.

  97. Myles

    If you desire to increase your experience only keep visiting this website
    and be updated with the hottest news posted here.

  98. hello

    This is really interesting, You are a very skilled
    blogger. I’ve joined your rss feed and look forward to seeking more of your fantastic post.

    Also, I’ve shared your site in my social networks!

  99. Natalia

    Hi there would you mind stating which blog platform you’re working with?
    I’m looking to start my own blog soon but I’m having a tough time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems
    different then most blogs and I’m looking for
    something completely unique. P.S Sorry for
    getting off-topic but I had to ask!

  100. Leonora

    Great information. Lucky me I discovered your blog by chance (stumbleupon).

    I have saved it for later!

  101. Willie

    Hi there! I know this is somewhat off topic but I was wondering
    if you knew where I could locate a captcha plugin for
    my comment form? I’m using the same blog platform as yours and I’m having trouble finding one?

    Thanks a lot!

  102. Victorina

    Great delivery. Sound arguments. Keep up the amazing spirit.

  103. Lenore

    Excellent pieces. Keep writing such kind of info on your site.
    Im really impressed by it.
    Hello there, You’ve performed a great job. I’ll
    certainly digg it and individually recommend to my friends.
    I am confident they’ll be benefited from this site.

  104. Taxi4d

    I am sure this article has touched all the internet users, its really really nice piece of writing on building up new
    webpage.

  105. I’m truly enjoying the design and layout of your website.
    It’s a very easy on the eyes which makes it much more enjoyable for me to come
    here and visit more often. Did you hire out a developer to create your theme?

    Superb work!

  106. Emilia

    Have you ever thought about creating an ebook or guest authoring
    on other blogs? I have a blog centered on the same
    subjects you discuss and would really like to have you share some stories/information. I know my visitors would appreciate your work.
    If you are even remotely interested, feel free to shoot me
    an email.

  107. Chanel

    Wow that was unusual. I just wrote an really
    long comment but after I clicked submit my comment didn’t appear.

    Grrrr… well I’m not writing all that over again. Anyways,
    just wanted to say wonderful blog!

  108. Sofia

    Informative article, just what I needed.

  109. Prix Slim 36

    Hi there just wanted to give you a quick heads up. The text in your article seem
    to be running off the screen in Ie. I’m not sure if this is
    a format issue or something to do with web browser compatibility but I figured I’d post to let you know.
    The design and style look great though! Hope you get the issue resolved
    soon. Cheers

  110. Excellent post. Keep writing such kind of information on your site.
    Im really impressed by it.
    Hey there, You’ve performed a fantastic job.
    I will definitely digg it and in my opinion recommend to my friends.
    I’m sure they’ll be benefited from this site.

  111. Karri

    Michigan’s industrial casinos also lost millions when they had
    been forced to close from March 16 via Aug.
    five prior to reopening at 15% capacity.

  112. But most of all, you’ll be able to really benefit
    from the addictive gameplay with tons of levels to beat.

  113. I have been exploring for a little bit for any high-quality
    articles or weblog posts in this kind of house
    . Exploring in Yahoo I finally stumbled upon this website.
    Studying this information So i am satisfied to show that I
    have an incredibly just right uncanny feeling I found out exactly what I needed.
    I so much surely will make sure to don?t omit this
    web site and give it a look regularly.

Leave a Reply