View Issue Details

IDProjectCategoryView StatusLast Update
0036984LazarusUtilitiespublic2020-04-29 23:52
ReporterKevin Jesshope Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx64OSWIndows 
Product Version2.0.9 (SVN) 
Summary0036984: debugserver tool fails on run
DescriptionDebugServer tool fails with

Project FPC/Lazarus debug message server raised exception class 'EIPCError' with message:
This operation is illegal when the server is active.
Steps To ReproduceCompile and run the Lazarus/Tools/DebugServer project. It will fail with EIPCError trying to StartServer when it is already Active.
Additional InformationDon't need/should not have both StartServer and active := true. THe Active := True is causing the EIPCError
Removing the Active:= True solves the problem.
TagsNo tags attached.
Fixed in Revision
LazTarget
WidgetsetWin32/Win64
Attached Files

Activities

Kevin Jesshope

2020-04-28 15:18

reporter  

DebugServer1.patch (396 bytes)   
Index: tools/debugserver/frmmain.pp
===================================================================
--- frmmain.pp	(revision 63089)
+++ frmmain.pp	(working copy)
@@ -273,7 +273,6 @@
   FSrv:=TSimpleIPCServer.Create(Nil);
   FSrv.ServerID:=DebugServerID;
   FSrv.Global:=True;
-  FSrv.Active:=True;
   FSrv.StartServer;
   Application.OnIdle:=@CheckMessages;
   ITMessages.Enabled:=True;
DebugServer1.patch (396 bytes)   

Issue History

Date Modified Username Field Change
2020-04-28 15:18 Kevin Jesshope New Issue
2020-04-28 15:18 Kevin Jesshope File Added: DebugServer1.patch