LRDB
LRDB copied to clipboard
make debugger expand relative paths to absolute
I have encountered issues with setting breakpoints in modules loaded using require, which uses absolute paths. Using relative paths brings problems in conjunction with the vscode extension, which might find the same file in multiple sourcesRoot directories. Absolute paths would solve this.
debugger class now has a public method set_working_dir, which accepts char*. If the method is not called, the old behaviour is preserved - relative paths are not expanded.
server class gets cwd in main and handles it to the debugger.
this PR is related to vscode-lrdb PR 13