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

Windows 11: Error checking and log output not working #20

Open
pforhan opened this issue Apr 25, 2024 · 2 comments
Open

Windows 11: Error checking and log output not working #20

pforhan opened this issue Apr 25, 2024 · 2 comments

Comments

@pforhan
Copy link

pforhan commented Apr 25, 2024

I can't explain it but the Build and Run (Simulator).ps1 command in powershell or vscode terminal just won't display any log output and won't abort on errors. For example here I added a space to break syntax

	math.rand omseed(playdate.getSecondsSinceEpoch()) -- seed for math.random
 *  Executing task: & 'C:\dev\playlords\Build and Run (Simulator).ps1' -build 'C:\dev\playlords\builds' -source 'C:\dev\playlords\source' -name 'playlords' 



    Directory: C:\dev\playlords


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----         4/24/2024  10:06 PM                builds
error: C:\dev\playlords\source/main.lua:9: syntax error near 'omseed'

even with this error it runs the simulator. Even if it can't find pdc.exe it will still try to run the simulator

@pforhan
Copy link
Author

pforhan commented Apr 25, 2024

I tried manually inserting echo or printf or Write-Host commands and still couldn't get any of their output to show.

@pforhan
Copy link
Author

pforhan commented Apr 25, 2024

I should mention, it does generally work, it's just less informative than perhaps it was intended to be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant