Closed sacredbanana closed 4 years ago
Hi,
maybe this has something to do with the default shell window? The program being debugged is run from the startup-sequence without RUN
, so probably it can't close the workbench screen because the CLI window is still open.
Can you try modifying c:\Users\[YourUserName]\.vscode\extensions\bartmanabyss.amiga-debug-1.0.0\bin\dh0\s\startup-sequence
and replace :runme.exe
with run :runme.exe
?
aha, so the amiga wiki lied ;) Get a Workbench 1.3 disk, make a new directory c:\Users\[YourUserName]\.vscode\extensions\bartmanabyss.amiga-debug-1.0.0\bin\dh0\c
and copy RUN from the C directory on the WB disk there.
OK I copied the run utility over (I was planning on trying that anyway) and now I get this:
I inserted a new line after that line and it gets rid of the y with 2 dots but its still the same unknown command
hmm... strange... can you pack up a small repro case of your project? I'll take a look.
Invite sent to my private repo
If I remove the : to make it just run runme.exe it executes but still doesnt close the screen
So, I found the correct startup-sequence by searching through old games, and found it in 'The Settlers':
run >nil: <nil: runme.exe >nil: <nil:
endcli >nil:
Copy the EndCLI command from the Workbench disk (same location as Run)
Also, for further information, check http://amigadev.elowar.com/read/ADCD_2.1/Libraries_Manual_guide/node0576.html
I'll think about how I go on including that feature in future versions.
No luck so far. I tried your solution and I get this:
Hmm I tried the solution above and it did work for me. I'm not sure what's going wrong here...
I thought nil: was always available as a system device
Could it be a difference between the vscode marketplace version of the extension and what is on the latest commit?
Yes, there's differences, however I don't think any of the changes affect this issue.
I couldn't get it to work with the 1.0 release, so I added the new configuration parameter endcli
to .vscode/launch.json
. Get the latest preview and be sure to read the CHANGELOG
(there have been some configuration changes), then in .vscode/launch.json
, below the "program": ...
line, add "endcli": true,
and it should work!
It worked! You sir are a hero
Just tested on Kickstart 3.1.4 and the issue is present with this KS still. Probably affects KS > 2.0 ?
Hi
I have an issue where the system call CloseWorkBench() fails. This call is used to close the main workbench screen. I do this to free up some memory. This normally only fails if some non drawer windows are open but none are. I assume something hidden is preventing the workbench screen to close?