simondotm / beeb-vsc

Visual Studio Code Extension to support code development for BBC Micro
https://marketplace.visualstudio.com/items?itemName=simondotm.beeb-vsc
MIT License
14 stars 3 forks source link

Debugger memory views #133

Closed tommy9 closed 2 months ago

tommy9 commented 2 months ago

Add system memory view for debugger. Under the Variables->System->Memory entry, can click on the icon shown when hovering to get memory view using VS Code's native view. A bit clunky but I don't see a more direct way to get it.

Also adds the ability to create watches with addresses directly, by placing the address within brackets, instead of a label or symbol name e.g. (&1900).w to get the 16 bit word stored at 0x1900, formatted as a decimal value $($80) to get the byte stored at 0x80

String formatting can now also be applied with the .sXX suffix, where XX is the number of bytes to read e.g. somelabel.s8 Debug_memory_views