EDT-MCP runtime debugging
Purpose and trigger
Use this skill when one runtime question needs authorized launch, Attach,
debugger, variable, expression, or event-log evidence.
Operating rule
Read and apply the common operating rules before this workflow.
Task boundary
Resolve one exact project, application, launch/Attach configuration, and runtime
question. Skip launch and debugger work entirely when bounded get_event_log
evidence alone answers the question.
Primary workflow
- For event-log-only work, resolve the authorized log source, apply current
server-side bounds from help, call
get_event_log, and report any paging,
format, location, disclosure, or completeness gap.
- Otherwise resolve the target with
get_applications,
list_configurations, debug_status, and list_breakpoints; distinguish
pre-existing breakpoints from task-owned ones, and settle update,
external-change, restart, credential, and data-disclosure authority before
launching.
- Use
set_infobase_credentials only for the confirmed target and only when
authorized. Decide from debug_status whether to use an existing session or
start a fresh one before installing the smallest set_breakpoint. Use an
existing session directly only when it is the exact authorized target and no
fresh-start effect is required; install the breakpoint and continue without
launch, or stop. For a fresh launch or Attach, set the breakpoint
before starting it and retain task-owned identifiers.
- If a preflight race makes
launch report alreadyRunning=true, do not
claim that launch, update, restart, or startup options ran. Refresh the
uniquely identified target, resume only a suspension caused by the task's
breakpoint, remove task-owned temporary state, and stop unless a fresh
relaunch was explicitly authorized. Never resume an ambiguous or unrelated
suspension.
- Settle any in-progress or unknown launch outcome under current help and a
bounded caller-approved deadline before removing a task-owned breakpoint,
treating the launch as absent, or completing. Before
wait_for_break,
get_variables, evaluate_expression, set_variable, step, or
resume, require current help and status to identify one unambiguous
intended debug target.
Otherwise remove only task-owned temporary state and stop.
- Collect only the bounded evidence needed. Treat expression evaluation and
variable mutation as potentially state-changing.
- Resume execution if this task suspended it, call
remove_breakpoint, and
use terminate_launch only for a uniquely identified, task-owned launch
whose termination is authorized.
Authority rule
Infobase update/restructure, external-change handling, credentials, restart,
Attach, sensitive-data disclosure, expression/state mutation, and launch
termination each require authority for the exact target and effect.
Stop rule
Stop on ambiguous debugger target, missing launch/Attach route, unapproved
side effects or disclosure, shared-session risk, or uncontrolled BSL execution.
Completion signal
Report the exact runtime target and mode, decisive frame/value/log evidence,
server-side bounds and partial-result caveats, any state mutation, and cleanup
of task-owned suspensions, breakpoints, and launches.
1---2name: edt-mcp-project-runtime-debug3description: Collect bounded runtime and debugger evidence for a 1C project through EDT-MCP, including launch, breakpoints, variables, event log, and cleanup.4---56# EDT-MCP runtime debugging78## Purpose and trigger910Use this skill when one runtime question needs authorized launch, Attach,11debugger, variable, expression, or event-log evidence.1213## Operating rule1415Read and apply [the common operating rules](../COMMON.md) before this workflow.1617## Task boundary1819Resolve one exact project, application, launch/Attach configuration, and runtime20question. Skip launch and debugger work entirely when bounded `get_event_log`21evidence alone answers the question.2223## Primary workflow24251. For event-log-only work, resolve the authorized log source, apply current26 server-side bounds from help, call `get_event_log`, and report any paging,27 format, location, disclosure, or completeness gap.282. Otherwise resolve the target with `get_applications`,29 `list_configurations`, `debug_status`, and `list_breakpoints`; distinguish30 pre-existing breakpoints from task-owned ones, and settle update,31 external-change, restart, credential, and data-disclosure authority before32 launching.333. Use `set_infobase_credentials` only for the confirmed target and only when34 authorized. Decide from `debug_status` whether to use an existing session or35 start a fresh one before installing the smallest `set_breakpoint`. Use an36 existing session directly only when it is the exact authorized target and no37 fresh-start effect is required; install the breakpoint and continue without38 `launch`, or stop. For a fresh launch or Attach, set the breakpoint39 before starting it and retain task-owned identifiers.404. If a preflight race makes `launch` report `alreadyRunning=true`, do not41 claim that launch, update, restart, or startup options ran. Refresh the42 uniquely identified target, resume only a suspension caused by the task's43 breakpoint, remove task-owned temporary state, and stop unless a fresh44 relaunch was explicitly authorized. Never resume an ambiguous or unrelated45 suspension.465. Settle any in-progress or unknown launch outcome under current help and a47 bounded caller-approved deadline before removing a task-owned breakpoint,48 treating the launch as absent, or completing. Before `wait_for_break`,49 `get_variables`, `evaluate_expression`, `set_variable`, `step`, or50 `resume`, require current help and status to identify one unambiguous51 intended debug target.52 Otherwise remove only task-owned temporary state and stop.536. Collect only the bounded evidence needed. Treat expression evaluation and54 variable mutation as potentially state-changing.557. Resume execution if this task suspended it, call `remove_breakpoint`, and56 use `terminate_launch` only for a uniquely identified, task-owned launch57 whose termination is authorized.5859## Authority rule6061Infobase update/restructure, external-change handling, credentials, restart,62Attach, sensitive-data disclosure, expression/state mutation, and launch63termination each require authority for the exact target and effect.6465## Stop rule6667Stop on ambiguous debugger target, missing launch/Attach route, unapproved68side effects or disclosure, shared-session risk, or uncontrolled BSL execution.6970## Completion signal7172Report the exact runtime target and mode, decisive frame/value/log evidence,73server-side bounds and partial-result caveats, any state mutation, and cleanup74of task-owned suspensions, breakpoints, and launches.