Hi,
is there an easy way to access DebugBossManager instantiated in main.pas
// 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 ?