Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZCPU includes use backslashes as path-separator #3

Open
Xandaros opened this issue Mar 17, 2017 · 1 comment
Open

ZCPU includes use backslashes as path-separator #3

Xandaros opened this issue Mar 17, 2017 · 1 comment
Labels
bug Something isn't working

Comments

@Xandaros
Copy link

When including files in the ZCPU, it will look for the file at the right path, but with \ as path separator. This causes it to fail on non-Windows systems.
See for example these two lines

That's not the whole story, though - just fixing the preprocessor was not enough in my tests. The debugger still errors and tries to use the wrong path and the code does not actually execute with the include statement in there.

@Xandaros
Copy link
Author

Turns out the debugger doesn't even work properly in Windows.
Setting and removing breakpoints is a nightmare, at least if you have included files. You can't look at other files while you have a breakpoint set and if you are lucky enough that it actually stops at a breakpoint, it won't ever do that again without you resetting. (This is also the case with only a single file)

The not actually executing part was my fault, though, after fixing the preprocessor it's only the debugger that is buggy. Ah, the irony.

@AbigailBuccaneer AbigailBuccaneer added the bug Something isn't working label Mar 20, 2017
@Vurv78 Vurv78 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 11, 2023
@Vurv78 Vurv78 transferred this issue from wiremod/wire Jul 11, 2023
@Vurv78 Vurv78 reopened this Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants