You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: