![]() |
![]() |
#241 | |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Quote:
That's a shame as it would be so useful. I found a thread on stackoverflow and it seems it can be programmed info extensions https://stackoverflow.com/questions/...-in-debug-mode |
|
![]() |
![]() |
#242 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
It’s totally feasible, but needs to be added to the extension.
I think that vscode has a standard way to do this, but I must investigate. If some of you are interested in contributing, you are welcome! I think there are two main features that will greatly contribute to the experience: - setting conditional breakpoints (the gdbremote protocol is a complicated to send this informations) - adding the profiling options as the bartman extension Before diving in these big works, I work for some little features as your request. |
![]() |
![]() |
#243 | |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Quote:
|
|
![]() |
![]() |
#244 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Wicked, how dio I update
![]() |
![]() |
![]() |
#245 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
|
![]() |
![]() |
#246 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
|
![]() |
![]() |
#247 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
@BippyM, Here is a pre-release for tests https://github.com/prb28/vscode-amig...s/tag/pre_0.22
Download the VSIX file. To install type F1 and select "Extensions: install from VSIX..." You will find a new build sequence in the terminal (no more output quest) and the variable format modification by right click. And certainly some new bugs ! Be careful there are some breaking changes in the tasks and launch configuration to stop the debug if the build does not succeed. https://github.com/prb28/vscode-amig...v_0.22/.vscode https://github.com/prb28/vscode-amig...reakingChanges Hope it will help you in your quest of mastering assembly ! ![]() |
![]() |
![]() |
#248 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Will give this a go soon
![]() |
![]() |
![]() |
#249 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
So erm..
How does this work??? I have it installed. Winuae just flashes up and closes. FSUae runs, but there's nothing when disassembling. |
![]() |
![]() |
#250 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
|
![]() |
![]() |
#251 | |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Quote:
The amiga-assembly-0.22.0.vsix extension is inside. You have to install it in you vscode. |
|
![]() |
![]() |
#252 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,369
|
I just installed the whole lot in a few minutes and getting the sample app running in the debugger.
It's just incredible. I could achieve some debugging using a gdb server (Bebbo's) and another IDE but it was difficult to configure and ended up not working anymore. Now all integrated like this it's just great (and the sample app is all I was looking for too) A few remarks - The first time, WinUAE "rom loaded" popup blocks the execution and the debugger fails. Click on OK => fixed - in the debugger, all commands (including help) return as json output. Not very convenient. VS code upgrade? See the result of "bt": Code:
bt {"output":["#0 0x00c0b426 in WaitVbl () at K:/jff/data/C++/games/AmigaTest/main.c:50\n","#1 main () at K:/jff/data/C++/games/AmigaTest/main.c:301\n"],"token":23,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[]}} |
![]() |
![]() |
#253 |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
I've never seen these... and your source is in C.
Aren't you using the Bartman C extension (https://marketplace.visualstudio.com/items?itemName=BartmanAbyss.amiga-debug#review-details) for visual studio code ? It's really awesome I agree with you but it's not the same ![]() |
![]() |
![]() |
#254 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,369
|
of course I'm using Bartman extension. Else I wouldn't be able to create a sample app & debug it.
anyway, I could develop whole games without debugging. I can handle a few formatting annoyances. |
![]() |
![]() |
#255 | |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Quote:
![]() |
|
![]() |
![]() |
#256 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
I have dupicated my workspace in the hopes of starting a new project.. However whenever I try and build I get the error below:
ALso I want to have multiple projects using just the one install. What is the best way to go about this? As in I don't want the bin/include/ folders duplicated in each project, what is the best way to do this? |
![]() |
![]() |
#257 | |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Nevermind.. I should read your instructions more closely, fixed
![]() Quote:
|
|
![]() |
![]() |
#258 |
Registered User
Join Date: Jul 2017
Location: Oxford
Posts: 107
|
Hi, I've got back to my asm project (ups and downs, lack of time, etc...) after a while, only to discover it won't build/run/debug anymore.
Of course in the meantime VSCode has updated a few times, so maybe something has changed... 1st error: solved reading from issues in github: vasm path had to be put absolute. 2nd error: doesn't build anymore (I have a project with a main source in the root folder, and everything else inside a subdir). Tried to overcome with a custom Makefile and: Code:
"buildWorkspace": false, Any clues? What I really don't understand is why it doesn't build automatically anymore. I am using git source control, and pretty sure I didn't change anything since last time it worked (a couple of months ago...). |
![]() |
![]() |
#259 | |
Registered User
Join Date: May 2018
Location: France
Posts: 246
|
Quote:
Maybe it's a problem os file signing on mac : https://github.com/prb28/vscode-amig...working-on-osx The thread of the issue : https://github.com/prb28/vscode-amig...bly/issues/143 |
|
![]() |
![]() |
#260 |
Registered User
![]() Join Date: Dec 2017
Location: Austin, TX
Age: 41
Posts: 412
|
Not sure if it's related but VS Code 1.56.1 gets stuck trying to launch my program on Windows with extension 0.21.1.
Rolling back to 1.55.2 works fine. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
assembly code to test for assign (2.0+) | jotd | Coders. System | 2 | 27 December 2017 23:16 |
very basic C/ASM/Visual Studio hand holding | Sephnroth | Coders. C/C++ | 2 | 08 March 2016 20:15 |
Amiga Audio/Visual | KhneFr | request.Other | 6 | 03 January 2015 10:25 |
Profiling WinUAE with Visual Studio 2013 | mark_k | support.WinUAE | 3 | 14 January 2014 20:26 |
amiga visual editor | thinlega | request.Apps | 1 | 22 January 2003 15:48 |
|
|