Close

Argentum got a debugger

A project log for Argentum programming language

It automatically prevents all memory leaks. It doesn't use GC, so no pauses. It's compiled to machine code. It's crazy safe and fast.

andrey-kalmatskiyAndrey Kalmatskiy 06/05/2023 at 19:040 Comments

Argentum compiler builds a DWARF-compatible debug info, And it's all integrated with VSCode:

So far it supports:

  1. Variable and class inspection (including lambda capture blocks)
  2. Call stack + intermediate frames' variables and code locations
  3. Breakpoints
  4. Stepping through code.

It has special handling for pointers to functions, lambdas and delegates, strings and limited support for arrays (it shows only 20 first elements).

So far it shows only static type of object by pointers. As a temporary work-around you can use watch expressions with type casts (they can also be used to access any array elements beyond 20 elements boundary).

All details are here: https://aglang.org/argentum-debugger-v1/

Discussions