{"id":9169,"date":"2012-10-31T23:48:03","date_gmt":"2012-10-31T18:18:03","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=9169"},"modified":"2012-10-31T23:48:03","modified_gmt":"2012-10-31T18:18:03","slug":"gsp-debugging-tip-showsource","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/gsp-debugging-tip-showsource\/","title":{"rendered":"GSP Debugging tip &#8211; showSource"},"content":{"rendered":"<p>There are times when we have an !!Exception!! which looks like<\/p>\n<p>[code]<\/p>\n<p>grails_app_views_non_crashable_page_gsp:29<\/p>\n<p>[\/code]<\/p>\n<p>seems like our non crashable page just crashed, and looking at line 29 in our gsp is of no avail, and we just end up thinking maybe x or maybe y messed up.<\/p>\n<p>The trick is simple, simply in your URL , add the following :<\/p>\n<p>[code]<\/p>\n<p>http:\/\/myBulletProofServer:8080\/xx\/XXx\/nonCrashablePage?showSource=true<\/p>\n<p>[\/code]<\/p>\n<p>and this will give you the compiled groovy code for the gsp. There you can point out to line #29 and shout &#8220;Gotcha!&#8221;<\/p>\n<p>&nbsp;<\/p>\n<p>Regards<\/p>\n<p>Avinash Verma<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are times when we have an !!Exception!! which looks like [code] grails_app_views_non_crashable_page_gsp:29 [\/code] seems like our non crashable page just crashed, and looking at line 29 in our gsp is of no avail, and we just end up thinking maybe x or maybe y messed up. The trick is simple, simply in your URL [&hellip;]<\/p>\n","protected":false},"author":49,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":3},"categories":[7],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/9169"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/49"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=9169"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/9169\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=9169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=9169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=9169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}