diff --git a/debugger/frames/debugger_general_options.pas b/debugger/frames/debugger_general_options.pas index 030f81404a..ff24a0f84d 100644 --- a/debugger/frames/debugger_general_options.pas +++ b/debugger/frames/debugger_general_options.pas @@ -90,7 +90,7 @@ procedure TDebuggerGeneralOptionsFrame.cmdOpenAdditionalPathClick( Sender: TObject); begin PathEditorDialog.Path:=txtAdditionalPath.Text; - PathEditorDialog.Templates:=SetDirSeparators( + PathEditorDialog.Templates:=GetForcedPathDelims( '$(LazarusDir)/include/$(TargetOS)' +';$(FPCSrcDir)/rtl/inc/' +';$(FPCSrcDir)/rtl/$(SrcOS)'