Comments (24)
@grahambates Thanks Graham.
Also just wanted to say a massive respect for the work you've done on this project. It's been a real joy to code with - given I've spent many hours working within the framework, I feel I owe you a pint or a coffee!
At some point I'll put together a list of small tweaks and ideas. But as they say, ideas are cheap!
from vscode-amiga-assembly.
@prb28 I will try this evening.
from vscode-amiga-assembly.
Looking at it now 👍
from vscode-amiga-assembly.
I did, but I'll do some more thorough testing today.
from vscode-amiga-assembly.
Thanks! Unchecking "All Exceptions" from the Breakpoints section of the Run and Debug pane has allowed the program to be debugged. I think I have had this issue in the past, and unchecked that same option; perhaps the vscode update reset it to checked?
With regards to the issue you mentioned in the previous post, this is an ongoing issue I have with constants. It also occurs when I open the Run and Debug > Variables > Registers > Constants node. Output:
[VASM] Error building c:\GitHub\howprice\Amiga3D\src\demo.asm to get constants.
fatal error 13: could not open <demo.asm> for input
aborting...
program exited (with status: 1), but EXIT_RUNTIME is not set, so halting execution but not exiting the runtime or preventing further async execution (build with EXIT_RUNTIME=1, if you want a true shutdown)
EDIT: Please let me know if you need a repro and/or any local files for this - I seems to get it in every project.
from vscode-amiga-assembly.
@djyt @howprice can you try this workaround? #284 (comment)
@prb28 I can confirm from a quick test that unchecking "All Exceptions" has fixed the issue and I can debug. Awesome.
from vscode-amiga-assembly.
@AndyJBuchanan for a raspberry pi you'll have to rebuild fs-uae. I don't think that the standard build on Ubuntu intel will work.
from vscode-amiga-assembly.
You'll need to build this : https://github.com/grahambates/fs-uae with the prb28 branch.
from vscode-amiga-assembly.
@grahambates There are some breaking changes in the last version of vscode.
from vscode-amiga-assembly.
Bit of a strange one. This was down to chaining calls to process.on()
:
process
.on("unhandledRejection", (reason, p) => {
logger.error(reason + " Unhandled Rejection at Promise " + p);
})
.on("uncaughtException", (err) => {
logger.error("Uncaught Exception thrown: " + this.errorString(err));
process.exit(1);
});
From what I can tell this should be valid across all versions of node, and it looks like it's only a problem when the code has been packed with webpack. Either way, changing it to separate calls fixes the issue.
from vscode-amiga-assembly.
I've tried that fix locally yesterday.
After it, I had some trouble stepping during debug. Did you try step debugging?
from vscode-amiga-assembly.
Same error on macOS after update to VSCode 1.86.0 (1.85.2 worked fine).
Please note that I am still stuck using Amiga Assembly v1.8.2 because of issue 283 so I hope there is a chance to fix them both, so I can update to VSCode 1.86.0 soon.
Thanks in advance!
from vscode-amiga-assembly.
@grahambates thanks, it looks good !
@djyt @cobour I've just published a pre-release, can you try it please ?
I think maybe there are some problems with the copper breakpoints, but I need some more testing.
(My tests are broken, must fix it too before a release)
from vscode-amiga-assembly.
I think maybe there are some problems with the copper breakpoints
Oh yeah good point, that wouldn't really surprise me as I haven't really tested that. I'll have a look at it too.
from vscode-amiga-assembly.
Here are my test results:
macOS 14.2.1 (Intel)
VSCode 1.86.0, Amiga Assembly v1.8.7 (pre-release) => no error message, but fs-uae does not start at all (no window does come up, program does not run)
VSCode 1.86.0, Amiga Assembly v1.8.6 => error message "Cannot read properties of undefined (reading 'on')", fs-uae does not start (emulator does not come up, program does not run)
VSCode 1.85.2, Amiga Assembly v1.8.7 (pre-release) => Extension version can not be installed
VSCode 1.85.2, Amiga Assembly v1.8.6 => error message "[EMU] No suitable emulator binary", fs-uae does not start (emulator does not come up, program does not run)
VSCode 1.85.2, Amiga Assembly v1.8.2 => no error message, fs-uae starts, program starts, debugging works
from vscode-amiga-assembly.
@prb28 Hello - sorry for the delay. Just gave the pre-release a quick test.
Run without debugging -> I can compile and launch in UAE.
Start debugging -> causes some kind of crash. I've attached a screenshot.
Also, am I misrembering or has the bundled version of UAE changed with the pre-release version? It's currently 4.10.1
from vscode-amiga-assembly.
Hi. Thanks for fixing the build issue. I've updated to v1.8.7 (pre-release) and I'm having the same issue when debugging.
from vscode-amiga-assembly.
@howprice I do not have it with the example, workspace.
Can you please, try to remove the "all exceptions" option ?
You have an error opening "demo.asm" file, is that normal ?
look's like #284
from vscode-amiga-assembly.
@djyt @howprice can you try this workaround?
#284 (comment)
from vscode-amiga-assembly.
@howprice, thanks for the test.
Yes you can open a new issue, if you have a minimal project to reproduce the issue it helps a lot !
from vscode-amiga-assembly.
Hello I am trying to set up on a RPi 5 (Latest 64 Bit Pi OS). I'm having an issue here too. I tried installing the 1.1.4 uae-dap and switching to the pre-release Extension.
VSCode 1.87.1, Amiga Assembly v1.8.7 (pre) =>
error message "[EMU] No suitable emulator binary", fs-uae does not start (it is installed and in the PATH [/usr/local/bin] )
from vscode-amiga-assembly.
Should I build any specific fork? The default fs-uae binary from apt seems to run ok from the command line.
from vscode-amiga-assembly.
The version I've built from the github source (4.0.2-dev) doesn't identify the 'remote_debug" patch in the version string so it's failing the uae-dap launch checks. Do I need an extra patch?
from vscode-amiga-assembly.
Thank you! Needed a bit of fiddling, but I have now so far as I can tell a working remote debug fs-uae and basic debugging functionality in the Extension seems to be working. Now to see if I can build some of my old devpac sources...
from vscode-amiga-assembly.
Related Issues (20)
- When debuging it lounching fu-uae to run the program HOT 4
- Error message in disassembly view
- [Feature] Disable VSCode debugger via config HOT 1
- Waiting for debugger, FS-UAE on MacM1 HOT 3
- Label of Releases 41 Download HOT 1
- [EMU] No suitable emulator binary (Mac Silicon) HOT 28
- Debugger crash in V1.8.4, V1.8.5 and V1.8.6 on Linux - V1.8.2 works - Example code inside. HOT 8
- FS-UAE/Linux: Example workspace: Unable to load UAEquit: Error code 121 HOT 5
- vasm output suppressed during build since 1.8.4 HOT 4
- WinUAE debug: execution is stopped at the instruction after the one with the breakpoint HOT 1
- Watching vars accessed via base register
- [VASM] Error building ....\src\demo.asm to get constants. HOT 3
- Copper breakpoints not working on FS-UAE
- tasks.json vlink includes multiple file syntax HOT 2
- Almost every line showing as error in VSCode HOT 1
- breakpoints can not be set - File not found in Source map - compiled with vb/vbcc HOT 1
- strange behavior when debugging HOT 13
- amigaassembly: ... terminal always pop up despite disabled task! HOT 2
- No documentation for DCB directive HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-amiga-assembly.