Closed cbmeeks closed 1 year ago
In the settings you'll find the path to the downloaded binary dir. Try to run fa-use in a shell from this directory.
Launching from the bin folder seems to work.
Ok, try to add the option emulatorStartDelay in the launch settings. Set it to 20000, it's in me so it will wait 20s. https://github.com/prb28/vscode-amiga-assembly/wiki/Debugging-emulator#parameters
Seems to have no affect at all. In fact, the emulator starts up without any delay. I even changed it to 200,000 and nothing was different.
UPDATE:
After I build the project, I can manually launch FS-UAE at the terminal and point to the program and it works. I believe it's the remote debugging from VSCode over to FS-UAE that is being blocked (localhost:6860). So maybe it's Fedora blocking that port?
I tried disabling the remote debugger but no dice.
"--use_remote_debugger=false",
Yes you may have to open the socket port on the firewall or change it because this port may be used or reserved. Try to set a 55555 port for the debugger and fs-uae.
Same thing. Denied.
I looked at adding the 6860 port explicitly and was told it was already there:
Something I'm wondering...I never was able to get the "download binaries" to work. So what I did was take the FS-UAE binary folder I had already download previously and copy them into the "../bin" folder of the project.
Does FS-UAE have a separate bin for the debugger? Meaning, I may not even have the debugger version installed.
I'm far from a computer for a couple of weeks, I'll try on a vm as soon as possible. Which version of fedora do you use ?
Any help is appreciated.
It works on a fresh install of fedora 36 in virtual box:
I had to install openal to launch fs-uae (I don't think it's your issue):
sudo dnf install openal
There is definitely something blocking port 6860 in your install, maybe a firewall or a service.
FYI,
I don't know what changed but this is now working. On a whim I came back to this and created a new project and it worked first time.
It took me a while to figure out how to run the example setup on my Fedora system. But when I finally got around to launching a program I compiled, I'm getting a connection refused on FS_UAE.
Here is my launch.json:
Here is my tasks.json:
My system is Fedora 36 with GNOME 42 (Wayland). I can run FS_UAE Launcher just fine.
Any ideas what I'm doing wrong?
Thanks