3 ms·
C has this nice preprocessor directive that indicate the actual source code: #line 42 "actual_source.lang" Subsequent tools like gdb/lldb pick up on that,
by loup-vaillant 8y ago
C has this nice preprocessor directive that indicate the actual source code:
#line 42 "actual_source.lang"
Subsequent tools like gdb/lldb pick up on that, and point to your source code instead of the intermediate C. So you don't care that the C code is wildly different from your own, the tools can still point to to the right place.
Sounds pretty productive to me.