64kramsystem / 64kramsystem/ghidra-vice-connector

Conditional breakpoints via VICE checkpoint conditions

オープン
#2 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
priority: high
主要言語
Python
スター
1
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

## Description

VICE checkpoints support conditions (`has_condition` field in `CHECKPOINT_INFO`). The BMP protocol provides `CMD_CONDITION_SET` (0x16) to attach monitor expressions to checkpoints (e.g., `A == $42`, `.PC == $C000`).

## Proposed implementation

- Add `condition_set(checkpoint_number, expression)` to `ViceBmpClient`
- Add a `set_breakpoint_condition` remote method in `methods.py`
- Display the condition expression as an attribute on breakpoint objects in the trace
- Optionally parse/validate conditions before sending

## Why this matters

Conditional breakpoints are essential for debugging loops and interrupt handlers on the C64, where unconditional breakpoints fire too frequently to be useful.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Look at the ViceBmpClient class and methods.py to understand the existing checkpoint and command structure. The CMD_CONDITION_SET (0x16) command needs to be implemented. Start by adding the condition_set method to ViceBmpClient and the corresponding remote method. Test by setting a condition on a checkpoint and verifying it appears in the trace.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
devtools
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。