OCamlPro / superbol-studio-oss

Open-Source part of SuperBOL Studio, including the Visual Studio Code extension and its LSP server
https://superbol.eu
Other
24 stars 13 forks source link

superbol-debug: step over steps into `sort` #362

Open GitMensch opened 3 months ago

GitMensch commented 3 months ago

From worldcities7.cbl:

           sort sort-file
               ascending key sort-city-country-code
                   sort-city-latitude
                   sort-city-longitude
               input procedure sort-input
               output procedure sort-output

"standing" at sort and doing a "step over" should not step into the sort-input procedure, but should position after the sort (internally using until of course).

... side note: if "step into" was used and then "continue until return" is used, then the procedure should be executed and the debugging should go to sort-input;

note to self: codegen needs to place the source information before /* USE PROCEDURE, step into will then nicely at least step to that line first (and then again depeding on "step into" / "step over" should go into that or not.