{"id":163,"date":"2007-05-12T16:27:54","date_gmt":"2007-05-12T14:27:54","guid":{"rendered":" http:\/\/www.nsonic.de\/blog\/2007\/05\/no-break-on-exception-d3\/"},"modified":"2007-05-12T16:27:55","modified_gmt":"2007-05-12T14:27:55","slug":"no-break-on-exception-d3","status":"publish","type":"post","link":"https:\/\/www.nsonic.de\/blog\/2007\/05\/no-break-on-exception-d3\/","title":{"rendered":"No Break on Exception &#8211; D3"},"content":{"rendered":"<p><em>>D3 &#8211; Anyone know a way to mark a block of source code where the debugger<br \/>\n>won&#8217;t break for an exception.   I have try..except blocks to catch<br \/>\n>&#8217;deliberate&#8217; throws and having the debugger break in them is a real<br \/>\n>pain.<br \/>\n<\/em><\/p>\n<p>[code lang=&#8221;delphi&#8221;]var<br \/>\n  OldExceptClass: TClass;<br \/>\nbegin<br \/>\n  \/\/ save<br \/>\n  OldExceptClass := ExceptionClass;<br \/>\n  \/\/ turn off<br \/>\n  ExceptionClass := nil;<br \/>\n  try<br \/>\n    raise Exception.Create(&#8216;und der debugger merkt nichts mehr &#8216;);<br \/>\n  except<br \/>\n  end;<br \/>\n  \/\/ re-activate<br \/>\n  ExceptionClass := OldExceptClass;<br \/>\nend;<br \/>\n[\/code]<\/p>\n<p>[tags]Delphi, IDE[\/tags]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>>D3 &#8211; Anyone know a way to mark a block of source code where the debugger >won&#8217;t break for an exception. I have&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[11],"tags":[75,104],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p71Tml-2D","_links":{"self":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/163"}],"collection":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/comments?post=163"}],"version-history":[{"count":0,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/163\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/media?parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/categories?post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/tags?post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}