{"id":583,"date":"2021-01-29T10:16:58","date_gmt":"2021-01-29T09:16:58","guid":{"rendered":"https:\/\/transferttexei.wordpress.com\/2021\/01\/29\/tips-and-tricks-work-with-the-developer-console\/"},"modified":"2023-08-18T13:38:02","modified_gmt":"2023-08-18T11:38:02","slug":"tips-and-tricks-work-with-the-developer-console","status":"publish","type":"post","link":"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/","title":{"rendered":"Tips and Tricks\u00a0: Work with the Developer Console"},"content":{"rendered":"<p>If you are used to work with the developer console, you know some of the problems that can be encountered there. Today, I present to you 2 developer console tips that can help you.<\/p>\n<h2><strong>1- Open entire log in the Developer Console<\/strong><\/h2>\n<p>If you want to read an information that appears in a log, you can search the log, open it and search the information in the log. But sometimes, the string is so long (such a JSON response from a Web Service or a long text) that you cannot read it all.<\/p>\n<figure><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-3163 size-full\" src=\"https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/8f6be-1bh2jt-cphcwqvis9udcyxq.png\" alt=\"Developer Console Tips\" width=\"752\" height=\"237\" srcset=\"https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/8f6be-1bh2jt-cphcwqvis9udcyxq-200x63.png 200w, https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/8f6be-1bh2jt-cphcwqvis9udcyxq-300x95.png 300w, https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/8f6be-1bh2jt-cphcwqvis9udcyxq-400x126.png 400w, https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/8f6be-1bh2jt-cphcwqvis9udcyxq-600x189.png 600w, https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/8f6be-1bh2jt-cphcwqvis9udcyxq.png 752w\" sizes=\"(max-width: 752px) 100vw, 752px\" \/><\/figure>\n<p>Fortunately, the developer console permits you to open the entire log by clicking on file, then Open Raw Log. And voil\u00e0.<\/p>\n<h2><strong>2- Use System.assert to show value<\/strong><\/h2>\n<p>When you use the Anonymous Window to execute a code block or function. You may need to know the value of a field or something else at a moment. To do so, you can use the System.assert method. After you click on execute, an error pop-up will show you the value you are looking for.<\/p>\n<figure><img decoding=\"async\" class=\"alignnone size-full wp-image-3162\" src=\"https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/0b2c9-1vpqrf5zhqrfdibisly-c-a.png\" alt=\"\" width=\"407\" height=\"109\" srcset=\"https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/0b2c9-1vpqrf5zhqrfdibisly-c-a-200x54.png 200w, https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/0b2c9-1vpqrf5zhqrfdibisly-c-a-300x80.png 300w, https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/0b2c9-1vpqrf5zhqrfdibisly-c-a-400x107.png 400w, https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/0b2c9-1vpqrf5zhqrfdibisly-c-a.png 407w\" sizes=\"(max-width: 407px) 100vw, 407px\" \/><\/figure>\n<figure><img decoding=\"async\" class=\"alignnone size-full wp-image-3164\" src=\"https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/a2306-1cjfxnjggsiuhqr8tzoilsa.png\" alt=\"\" width=\"396\" height=\"173\" srcset=\"https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/a2306-1cjfxnjggsiuhqr8tzoilsa-200x87.png 200w, https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/a2306-1cjfxnjggsiuhqr8tzoilsa-300x131.png 300w, https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/a2306-1cjfxnjggsiuhqr8tzoilsa.png 396w\" sizes=\"(max-width: 396px) 100vw, 396px\" \/><\/figure>\n<p>I hope these two tips will help you!<\/p>\n<p>Do not hesitate to also read <a href=\"https:\/\/texei.com\/conseils\/tips-and-tricks-admin-tricks\/\">Tips &amp; Tricks<\/a> of Meryam Karazi. And continue to follow us since more Tips &amp; Tricks of <a href=\"http:\/\/www.salesforce.com\" target=\"_blank\" rel=\"noopener\">Salesforce<\/a> are to come.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are used to work with the developer console, you know some of the problems that can be encountered there. Today, I present to you 2 developer console tips that can help you. 1- Open entire log in the Developer Console If you want to read an information that appears in a log, you [&hellip;]<\/p>\n","protected":false},"author":39,"featured_media":3161,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[300],"tags":[310],"class_list":["post-583","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advices","tag-salesforce-en"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Tips and Tricks\u00a0: Work with the Developer Console - Texe\u00ef<\/title>\n<meta name=\"description\" content=\"Discover two helpful tips for working with the Developer Console. Learn how to open the entire log and use System.assert to display values.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tips and Tricks\u00a0: Work with the Developer Console\" \/>\n<meta property=\"og:description\" content=\"Discover two helpful tips for working with the Developer Console. Learn how to open the entire log and use System.assert to display values.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/\" \/>\n<meta property=\"og:site_name\" content=\"Texe\u00ef\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-29T09:16:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-18T11:38:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/c74aa-13vehhpizpjp4gxx88ufd5q.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"436\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Selim Beaujour\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/texei.com\\\/en\\\/advices\\\/tips-and-tricks-work-with-the-developer-console\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/texei.com\\\/en\\\/advices\\\/tips-and-tricks-work-with-the-developer-console\\\/\"},\"author\":{\"name\":\"Selim Beaujour\",\"@id\":\"https:\\\/\\\/texei.com\\\/#\\\/schema\\\/person\\\/461d58e89d28e2d36379af261eb4a459\"},\"headline\":\"Tips and Tricks\u00a0: Work with the Developer Console\",\"datePublished\":\"2021-01-29T09:16:58+00:00\",\"dateModified\":\"2023-08-18T11:38:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/texei.com\\\/en\\\/advices\\\/tips-and-tricks-work-with-the-developer-console\\\/\"},\"wordCount\":219,\"publisher\":{\"@id\":\"https:\\\/\\\/texei.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/texei.com\\\/en\\\/advices\\\/tips-and-tricks-work-with-the-developer-console\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/texei.com\\\/dev\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/c74aa-13vehhpizpjp4gxx88ufd5q.png\",\"keywords\":[\"Salesforce\"],\"articleSection\":[\"Advices\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/texei.com\\\/en\\\/advices\\\/tips-and-tricks-work-with-the-developer-console\\\/\",\"url\":\"https:\\\/\\\/texei.com\\\/en\\\/advices\\\/tips-and-tricks-work-with-the-developer-console\\\/\",\"name\":\"Tips and Tricks\u00a0: Work with the Developer Console - Texe\u00ef\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/texei.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/texei.com\\\/en\\\/advices\\\/tips-and-tricks-work-with-the-developer-console\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/texei.com\\\/en\\\/advices\\\/tips-and-tricks-work-with-the-developer-console\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/texei.com\\\/dev\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/c74aa-13vehhpizpjp4gxx88ufd5q.png\",\"datePublished\":\"2021-01-29T09:16:58+00:00\",\"dateModified\":\"2023-08-18T11:38:02+00:00\",\"description\":\"Discover two helpful tips for working with the Developer Console. Learn how to open the entire log and use System.assert to display values.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/texei.com\\\/en\\\/advices\\\/tips-and-tricks-work-with-the-developer-console\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/texei.com\\\/en\\\/advices\\\/tips-and-tricks-work-with-the-developer-console\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/texei.com\\\/en\\\/advices\\\/tips-and-tricks-work-with-the-developer-console\\\/#primaryimage\",\"url\":\"https:\\\/\\\/texei.com\\\/dev\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/c74aa-13vehhpizpjp4gxx88ufd5q.png\",\"contentUrl\":\"https:\\\/\\\/texei.com\\\/dev\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/c74aa-13vehhpizpjp4gxx88ufd5q.png\",\"width\":800,\"height\":436},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/texei.com\\\/en\\\/advices\\\/tips-and-tricks-work-with-the-developer-console\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/texei.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Advices\",\"item\":\"https:\\\/\\\/texei.com\\\/en\\\/category\\\/advices\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Tips and Tricks\u00a0: Work with the Developer Console\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/texei.com\\\/#website\",\"url\":\"https:\\\/\\\/texei.com\\\/\",\"name\":\"Texe\u00ef\",\"description\":\"Turn your IT into Business\",\"publisher\":{\"@id\":\"https:\\\/\\\/texei.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/texei.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/texei.com\\\/#organization\",\"name\":\"Texe\u00ef\",\"url\":\"https:\\\/\\\/texei.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/texei.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/texei.com\\\/dev\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/logo-essai-1.jpg\",\"contentUrl\":\"https:\\\/\\\/texei.com\\\/dev\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/logo-essai-1.jpg\",\"width\":2560,\"height\":1102,\"caption\":\"Texe\u00ef\"},\"image\":{\"@id\":\"https:\\\/\\\/texei.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/texei.com\\\/#\\\/schema\\\/person\\\/461d58e89d28e2d36379af261eb4a459\",\"name\":\"Selim Beaujour\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/texei.com\\\/dev\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/avatar_user_39_1642694962-96x96.jpeg\",\"url\":\"https:\\\/\\\/texei.com\\\/dev\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/avatar_user_39_1642694962-96x96.jpeg\",\"contentUrl\":\"https:\\\/\\\/texei.com\\\/dev\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/avatar_user_39_1642694962-96x96.jpeg\",\"caption\":\"Selim Beaujour\"},\"url\":\"https:\\\/\\\/texei.com\\\/en\\\/author\\\/selimbeaujour\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Tips and Tricks\u00a0: Work with the Developer Console - Texe\u00ef","description":"Discover two helpful tips for working with the Developer Console. Learn how to open the entire log and use System.assert to display values.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/","og_locale":"en_US","og_type":"article","og_title":"Tips and Tricks\u00a0: Work with the Developer Console","og_description":"Discover two helpful tips for working with the Developer Console. Learn how to open the entire log and use System.assert to display values.","og_url":"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/","og_site_name":"Texe\u00ef","article_published_time":"2021-01-29T09:16:58+00:00","article_modified_time":"2023-08-18T11:38:02+00:00","og_image":[{"width":800,"height":436,"url":"https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/c74aa-13vehhpizpjp4gxx88ufd5q.png","type":"image\/png"}],"author":"Selim Beaujour","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/#article","isPartOf":{"@id":"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/"},"author":{"name":"Selim Beaujour","@id":"https:\/\/texei.com\/#\/schema\/person\/461d58e89d28e2d36379af261eb4a459"},"headline":"Tips and Tricks\u00a0: Work with the Developer Console","datePublished":"2021-01-29T09:16:58+00:00","dateModified":"2023-08-18T11:38:02+00:00","mainEntityOfPage":{"@id":"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/"},"wordCount":219,"publisher":{"@id":"https:\/\/texei.com\/#organization"},"image":{"@id":"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/#primaryimage"},"thumbnailUrl":"https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/c74aa-13vehhpizpjp4gxx88ufd5q.png","keywords":["Salesforce"],"articleSection":["Advices"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/","url":"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/","name":"Tips and Tricks\u00a0: Work with the Developer Console - Texe\u00ef","isPartOf":{"@id":"https:\/\/texei.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/#primaryimage"},"image":{"@id":"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/#primaryimage"},"thumbnailUrl":"https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/c74aa-13vehhpizpjp4gxx88ufd5q.png","datePublished":"2021-01-29T09:16:58+00:00","dateModified":"2023-08-18T11:38:02+00:00","description":"Discover two helpful tips for working with the Developer Console. Learn how to open the entire log and use System.assert to display values.","breadcrumb":{"@id":"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/#primaryimage","url":"https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/c74aa-13vehhpizpjp4gxx88ufd5q.png","contentUrl":"https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/01\/c74aa-13vehhpizpjp4gxx88ufd5q.png","width":800,"height":436},{"@type":"BreadcrumbList","@id":"https:\/\/texei.com\/en\/advices\/tips-and-tricks-work-with-the-developer-console\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/texei.com\/"},{"@type":"ListItem","position":2,"name":"Advices","item":"https:\/\/texei.com\/en\/category\/advices\/"},{"@type":"ListItem","position":3,"name":"Tips and Tricks\u00a0: Work with the Developer Console"}]},{"@type":"WebSite","@id":"https:\/\/texei.com\/#website","url":"https:\/\/texei.com\/","name":"Texe\u00ef","description":"Turn your IT into Business","publisher":{"@id":"https:\/\/texei.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/texei.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/texei.com\/#organization","name":"Texe\u00ef","url":"https:\/\/texei.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/texei.com\/#\/schema\/logo\/image\/","url":"https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/03\/logo-essai-1.jpg","contentUrl":"https:\/\/texei.com\/dev\/wp-content\/uploads\/2021\/03\/logo-essai-1.jpg","width":2560,"height":1102,"caption":"Texe\u00ef"},"image":{"@id":"https:\/\/texei.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/texei.com\/#\/schema\/person\/461d58e89d28e2d36379af261eb4a459","name":"Selim Beaujour","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/texei.com\/dev\/wp-content\/uploads\/2022\/01\/avatar_user_39_1642694962-96x96.jpeg","url":"https:\/\/texei.com\/dev\/wp-content\/uploads\/2022\/01\/avatar_user_39_1642694962-96x96.jpeg","contentUrl":"https:\/\/texei.com\/dev\/wp-content\/uploads\/2022\/01\/avatar_user_39_1642694962-96x96.jpeg","caption":"Selim Beaujour"},"url":"https:\/\/texei.com\/en\/author\/selimbeaujour\/"}]}},"_links":{"self":[{"href":"https:\/\/texei.com\/en\/wp-json\/wp\/v2\/posts\/583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/texei.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/texei.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/texei.com\/en\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/texei.com\/en\/wp-json\/wp\/v2\/comments?post=583"}],"version-history":[{"count":0,"href":"https:\/\/texei.com\/en\/wp-json\/wp\/v2\/posts\/583\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/texei.com\/en\/wp-json\/wp\/v2\/media\/3161"}],"wp:attachment":[{"href":"https:\/\/texei.com\/en\/wp-json\/wp\/v2\/media?parent=583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/texei.com\/en\/wp-json\/wp\/v2\/categories?post=583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/texei.com\/en\/wp-json\/wp\/v2\/tags?post=583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}