intersystems-community / vscode-objectscript

InterSystems ObjectScript extension for Visual Studio Code
https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO
Other
106 stars 48 forks source link

Support command stepping in debugger #1375

Closed antechdavid closed 2 months ago

antechdavid commented 3 months ago

Type: Feature Request

Hi in mumps, we have B "S". This way one can step command by command. How can we do this with vscode? F10 only step to the next line.

Say, if I have a line like

S A=1 S B=2 S C=A+B

I cannot step within the line. But with "S", one can.

Do you have any idea?

Thanks,

David

Extension version: 2.12.5 VS Code version: Code 1.89.1 (Universal) (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:14:24.611Z) OS version: Darwin arm64 23.5.0 Modes:

isc-bsaviano commented 3 months ago

@antechdavid You can't do this right now. The Atelier debug agent that VS Code uses only does line stepping. Command stepping is definitely something I'd like to support. Ideally this would be configurable with command stepping being the default. However, this requires an IRIS change that I doubt could be back ported, so it would only work for future versions of IRIS.

antechdavid commented 3 months ago

Hi Brett,

If I install the latest IRIS, will I be able to use it?

If so, that gives me a reason to upgrade.

Thanks, David

From: Brett Saviano @.> Sent: Thursday, June 6, 2024 4:32 AM To: intersystems-community/vscode-objectscript @.> Cc: david cui @.>; Mention @.> Subject: Re: [intersystems-community/vscode-objectscript] Old mumps code debugging with vscode (Issue #1375)

[EXTERNAL]

@antechdavidhttps://github.com/antechdavid You can't do this right now. The Atelier debug agent that VS Code uses only does line stepping. Command stepping is definitely something I'd like to support. Ideally this would be configurable with command stepping being the default. However, this requires an IRIS change that I doubt could be back ported to it would only work for new versions of IRIS.

- Reply to this email directly, view it on GitHubhttps://github.com/intersystems-community/vscode-objectscript/issues/1375#issuecomment-2152135286, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BANWB4Q7IMDPIIRPXIA6V33ZGBCENAVCNFSM6AAAAABI34BEOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJSGEZTKMRYGY. You are receiving this because you were mentioned.Message ID: @.**@.>>

isc-bsaviano commented 3 months ago

@antechdavid No, not yet. I clarified my earlier comment to say "future versions of IRIS".

antechdavid commented 3 months ago

Thank you.

From: Brett Saviano @.> Sent: Thursday, June 6, 2024 11:02 AM To: intersystems-community/vscode-objectscript @.> Cc: david cui @.>; Mention @.> Subject: Re: [intersystems-community/vscode-objectscript] Support command stepping in debugger (Issue #1375)

[EXTERNAL]

@antechdavidhttps://github.com/antechdavid No, not yet. I clarified my earlier comment to say "future versions of IRIS".

- Reply to this email directly, view it on GitHubhttps://github.com/intersystems-community/vscode-objectscript/issues/1375#issuecomment-2153104884, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BANWB4XF4P7IJVSWJIJ4DGTZGCPYPAVCNFSM6AAAAABI34BEOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGEYDIOBYGQ. You are receiving this because you were mentioned.Message ID: @.**@.>>