maziac / DeZog

Visual Studio Code Debugger for Z80/ZX Spectrum.
MIT License
212 stars 35 forks source link

Fix including nested directories #12

Closed ryanw closed 4 years ago

ryanw commented 4 years ago

I might just be using it wrong, but I found I couldn't debug asm files in nested folders when running VSCode on Windows 10. VSCode would be looking in the wrong directory. So, here's a patch that fixes it.

Example project that fails to find the nested .asm files when stepping into code: https://github.com/ryanw/dezog-bad-paths-example

maziac commented 4 years ago

Hi, thanks for preparing that fix. I haven't used it though as I have now added a fix which also honors the srcDirs directories. Please check if 9f4933c8d54a67edf91e2f7a25fe8104a97cbf7f "Fix including nested directories." fixes it for you.

ryanw commented 4 years ago

Your fix works for me, thanks! I'll close this PR.