mirror of https://gitlab.com/basile.b/dexed.git
#97, fix, it was impossible to dbg a runnable if curr proj out was a lib
This commit is contained in:
parent
c3e55b86ab
commit
7faa02568b
|
@ -1416,8 +1416,11 @@ begin
|
|||
dlgOkInfo('No runnable to debug', 'GDB commander');
|
||||
exit;
|
||||
end;
|
||||
if fProj.binaryKind <> executable then
|
||||
if not fDbgRunnable and (fProj.binaryKind <> executable) then
|
||||
begin
|
||||
dlgOkInfo('The project cannot be debugged because it does not output an executable', 'GDB commander');
|
||||
exit;
|
||||
end;
|
||||
if not fDbgRunnable then
|
||||
fExe := fProj.outputFilename
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue