From 6a504f60d8e62a1614e17adc1b0a8433b2893b9d Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 26 Oct 2011 15:38:48 +0000 Subject: [PATCH] DBG: fix callstack, opens directory in editor (unix), for unknown location. Issue #20561 git-svn-id: trunk@33095 - --- ide/debugmanager.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ide/debugmanager.pas b/ide/debugmanager.pas index 184f91075b..2e8b2271a3 100644 --- a/ide/debugmanager.pas +++ b/ide/debugmanager.pas @@ -605,7 +605,7 @@ var AnUnitInfo: TLazProjectFile; begin Result := False; - if Destroying then exit; + if Destroying or (Filename = '') then exit; (* The below currently does not work for unsaved projects *) //Result := FilenameIsAbsolute(Filename); //if Result then exit;