how to stop break on exception when debugging lazarus / 61-Beginners ---------------------------------------------------------------------- Old_Dog · 2015-10-24 00:47 When run the following code in the ide (F9) I get an error message box and execution stops at line 11. When I run the executable directly line 13 executes as expected and then on to the end. I have gone into tools->options->debugger->language exceptions->unchecked 'Notify on Lazarus exceptions' but this seems to have no effect. Is it possible to get Lazarus to not break on handled exceptions when in debug mode? Thank you Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TForm1.Button1Click(Sender: TObject);var  a : integer; begin     try     try              a:= 0;       ShowMessage ('1');       ShowMessage ('2');       ShowMessage (inttostr(4 div a))       except        ShowMessage ('there was an error');       end;     finally       ShowMessage ('3');     end;end; end. ---------------------------------------------------------------------- Martin_fr · 2015-10-24 02:37 This may depend which operating system you are on. There are different kind of exceptions. 1) Exception.raise  or range check errors, if range checking is enabled. those are created by the code fpc put in your app. For those there is usually the option to ignore them, or otherwise F9 will continue. 2) division by zero, access violations, sigfpe... those are caught by your OS, and then signalled to the application. On some OS gdb can not continue after those. In that case all you can do is add a check before, and avoid the signal when debugging. ---------------------------------------------------------------------- Old_Dog · 2015-10-24 08:49 Thanks very much for the explanation, I had wondered if I was missing a setting somewhere. (For completeness, I am using windows 7 home premium 64 bit).