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

Does not profile iOS app in release configuration ("profilerMode": "trace") #132

Closed
nikamvd opened this issue Oct 24, 2024 · 4 comments
Closed
Labels
bug Something isn't working external other bug of dotnet / vscode / nodejs

Comments

@nikamvd
Copy link

nikamvd commented Oct 24, 2024

Does not profile iOS app in release configuration ("profilerMode": "trace"); but works for iOS (Debug). Also works for Android Release / Debug both configurations.

Shows below output in debug console on vs code -
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8303/tools/bin/mlaunch
WARNING: dotnet-dsrouter is a development tool not intended for production environments.

info: dotnet-dsrouter-14198[0]
Starting dotnet-dsrouter using pid=14198
info: dotnet-dsrouter-14198[0]
Starting IPC server (/Users/username/ios-port.lock) <--> TCP client (127.0.0.1:9000) router.
info: dotnet-dsrouter-14198[0]
Successfully connected new device, id=2.

But does not create speedscope file at end of session

using below launch configuration -
{
"name": ".NET Meteor Profiler",
"type": "dotnet-meteor.debugger",
"request": "launch",
"profilerMode": "trace",
"preLaunchTask": "dotnet-meteor: Build"
}

Softwares -
VS Code - Version: 1.94.2 (Universal)
.NET Meteor - v5.7.0
Xcode - Version 16.0 (16A242d)
dotnet workload list
maui 8.0.82/8.0.100 SDK 8.0.400

@JaneySprings
Copy link
Owner

Hi, @nikamvd ! It is iOS device or simulator?

@nikamvd
Copy link
Author

nikamvd commented Oct 24, 2024

Hi, @nikamvd ! It is iOS device or simulator?

Its physical device: iPhone 12; iOS 16.3

@JaneySprings JaneySprings added bug Something isn't working external other bug of dotnet / vscode / nodejs labels Oct 24, 2024
@JaneySprings
Copy link
Owner

dotnet/macios#21530

@JaneySprings
Copy link
Owner

Fixed in 5.8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external other bug of dotnet / vscode / nodejs
Projects
None yet
Development

No branches or pull requests

2 participants