Extend LazIDEIntf for DebugBossManager lazarus / 12-Debugger ---------------------------------------------------------------------- d.ioannidis · 2020-04-09 08:25 Hi,   is there an easy way to access DebugBossManager instantiated in main.pas 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   // initialize the other IDE managers  DebugBoss:=TDebugManager.Create(nil);  DebugBossManager:=DebugBoss;  DebugBoss.ConnectMainBarEvents;  DebuggerDlg.OnProcessCommand := @ProcessIDECommand; using only IDEIntf and /or DebuggerIntf in a package ? In my serial monitor window package, I need to know if and when the debugger finishes uploading the firmware to the device before opening the serial port. Currently the only functionality I can implement is to close the serial port when the project runs ( with or without debugger ). If with debug and debugger supports the functionality, the firmware is uploaded to the device. After the debugging session is over, open the serial again . When building a project, hooking I think is easier. For the upload to device functionality, AFAIK, a custom command is used and I think I can hook to it using the IDEExternToolIntf. Any hint ?