search for: testasyncseq

Displaying 1 result from an estimated 1 matches for "testasyncseq".

2018 Jun 27
2
can debug info for coroutines be improved?
...d problem, but the lack of debug info on variables in coroutines is making it difficult. Should I file a bug? Is this a fundamental limitation? Is anyone else interested in this? Here is a normal function source (in zig): const Point = struct { x: i32, y: i32, }; pub fn main() void { testAsyncSeq(); } fn testAsyncSeq() void { var blah = Point{ .x = 12, .y = 34 }; var bar = blah.x + 1; var baz = bar + 1; } when we step through `testAsyncSeq` in gdb, the `blah` variable is visible: Breakpoint 1, testAsyncSeq () at /home/andy/downloads/zig/build/test2.zig:13 13 var blah =...