You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed CodeLLDB v1.9.2, set a couple of breakpoints in the hello_world.adb and tried to debug the program. The debugging session starts correctly and I can step run the code, but I can't inspect the value of any variable.
This is the error message that I get when trying:
"Could not find type system for language ada83: typesystem for language ada83 doesn't exist"
I also tried to compile the same .adb file targeting aarch64 architecture. The building works, I can run the app and again, I can start the debugging session but got the same error message when trying to inspect the value of any variable.
Running lldb from CLI yielded same result:
$ lldb -o "b main" /opt/adatutorial/.objs/hello_world
(lldb) target create "/opt/adatutorial/.objs/hello_world"
Current executable set to '/opt/adatutorial/.objs/hello_world' (x86_64).
(lldb) b main
Breakpoint 1: where = hello_world`main + 19, address = 0x000000010000132f
(lldb) run
Process 15689 launched: '/opt/adatutorial/.objs/hello_world' (x86_64)
warning: libobjc.A.dylib is being read from process memory. This indicates that LLDB could not read from the host's in-memory shared cache. This will likely reduce debugging performance.
Process 15689 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
frame #0: 0x000000010000132f hello_world`main at b__hello_world.adb:215:7
212 pragma Import (C, Finalize, "__gnat_finalize");
213 SEH : aliased array (1 .. 2) of Integer;
214
-> 215 Ensure_Reference : aliased System.Address := Ada_Main_Program_Name'Address;
216 pragma Volatile (Ensure_Reference);
217
218 begin
Target 0: (hello_world) stopped.
warning: This version of LLDB has no plugin for the language "ada83". Inspection of frame variables will be limited.
(lldb)
Is there any LLDB plugin that I need to install for supporting Ada debugging? I've searched high and low for it to no avail.
I would really appreciate any help about this.
Update: It appears that LLDB lacks support for Ada debugging.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi. I'm using macOS Ventura 13.4.1 in an Apple M2, with VSCode 8.11, and lldb-1403.0.17.67.
I'm trying to debug a basic Ada program built for x86_64:
I installed CodeLLDB v1.9.2, set a couple of breakpoints in the hello_world.adb and tried to debug the program. The debugging session starts correctly and I can step run the code, but I can't inspect the value of any variable.
This is the error message that I get when trying:
"Could not find type system for language ada83: typesystem for language ada83 doesn't exist"
I also tried to compile the same .adb file targeting aarch64 architecture. The building works, I can run the app and again, I can start the debugging session but got the same error message when trying to inspect the value of any variable.
Running lldb from CLI yielded same result:
Is there any LLDB plugin that I need to install for supporting Ada debugging? I've searched high and low for it to no avail.
I would really appreciate any help about this.
Update: It appears that LLDB lacks support for Ada debugging.
Beta Was this translation helpful? Give feedback.
All reactions