Integrate debug info into contract inspect CLI #1382

Open
opened 2025-12-28 17:16:14 +00:00 by sami · 0 comments
Owner

Originally created by @AnnaShaleva on GitHub (Oct 11, 2024).

contract inspect outputs instructions offsets, but does not outputs source code lines. It's hard to debug contracts having just instructions and their offsets.

Describe the solution you'd like

Take source code lines from debug info by corresponding instructions offsets. Print them along with parsed contract instructions.

Describe alternatives you've considered

No alternatives.

Originally created by @AnnaShaleva on GitHub (Oct 11, 2024). ## Is your feature request related to a problem? Please describe. `contract inspect` outputs instructions offsets, but does not outputs source code lines. It's hard to debug contracts having just instructions and their offsets. ## Describe the solution you'd like Take source code lines from debug info by corresponding instructions offsets. Print them along with parsed contract instructions. ## Describe alternatives you've considered No alternatives.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neo-go#1382
No description provided.