I am using this extension and having problems with debugging. Everything works perfectly when my code size is small, I can debug and step through no problem, including with multiple source files. However, when the code gets larger debugging stops working, the output in debug console is:
==================== Initialize ====================
==================== Connect ====================
[SEND]: set print elements 0
[SEND]: set width 0
[SEND]: file "debug/debug.elf"
Reading symbols from debug/debug.elf...
[SEND]: target extended-remote localhost:3333
Remote debugging using localhost:3333
warning: Can not parse XML target description; XML support was disabled at compile time
0x00008000 in ?? ()
==================== Launch ====================
Loading section DATA, size 0x42 lma 0x1
Loading section INITIALIZED, size 0x39 lma 0x43
Loading section SSEG, size 0x1 lma 0x7c
Loading section HOME, size 0x7f lma 0x8000
Loading section GSINIT, size 0x1a lma 0x807f
Loading section GSFINAL, size 0x3 lma 0x8099
Loading section CONST, size 0x19 lma 0x809c
Loading section INITIALIZER, size 0x39 lma 0x80b5
Loading section CODE, size 0x377 lma 0x80ee
Start address 0x807f, load size 1249
Transfer rate: 751 bytes/sec, 138 bytes/write.
Cannot insert breakpoint 1.
Cannot access memory at address 0x80f0
launch.json file is:
"name": "sdcc launch",
Again, everything works for smaller programs but it seems to hit a critical point where it stops working. If required I can get a simple example set up where add a few instructions changes it from working to broken.