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

Unable to print on windows #72374

Open
ResourceHog opened this issue Mar 16, 2024 · 1 comment
Open

Unable to print on windows #72374

ResourceHog opened this issue Mar 16, 2024 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels

Comments

@ResourceHog
Copy link

ResourceHog commented Mar 16, 2024

Description

A simple print statement does not produce the desired text in the console on windows.
Output:
image

Reproduction

swift package init --type executable

print("Hello, world!")

Expected behavior

Should print "Hello, world!" to the console.

Environment

OS: Windows 11
swift version: 5.10
vscode version: 1.87.2
swift extension version: 1.8.1
lldb version: 16.0.0git

Additional information

related issue:
swiftlang/vscode-swift#723

@ResourceHog ResourceHog added bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels labels Mar 16, 2024
@ResourceHog
Copy link
Author

Okay, so I've found out that if I run the exe directly the print statements work just fine BUT if I use LLDB the print statements disappear again. This may be an issue with LLDB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
Projects
None yet
Development

No branches or pull requests

1 participant