Hi killerbot,
perhaps it exists a better solution than modifying the default.conf. For embedded Targets like MSP430, TriCore etc. I want to use an external debugger like insight.
I tried to write a script that is loaded at startup. But the script is not trusted, therefore a popup ask for trusting it. If a terminate the external application (insight), CB returns an error.
Is it possible to trust a script on startup and give the ability to start external applications. The strange thing if I replace msp430-insight with explorer.exe and IO.Execute(executing) no application is started.
function OnMenuClicked(index)
{
switch (index)
{
case 0:
local activetarget = GetProjectManager().GetActiveProject().GetActiveBuildTarget();
if (!IsNull(activetarget))
{
local outputfile = GetProjectManager().GetActiveProject().GetBuildTarget(activetarget).GetOutputFilename();
local basepath = GetProjectManager().GetActiveProject().GetBasePath();
local executing = _T("msp430-insight ") + basepath + outputfile;
local retval = IO.ExecuteAndGetOutput(executing);
}
break;
}
}
Thx,
Mario