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

dotnet-dsrouter and dotnet-gcdump doc needed when default port is occupied #4524

Open
AlexeiNaabal opened this issue Feb 23, 2024 · 1 comment
Labels
documentation Documentation related issue
Milestone

Comments

@AlexeiNaabal
Copy link

AlexeiNaabal commented Feb 23, 2024

*Edit: This doc request is for .net 8+, where the runtime and diagnostics added dotnet-gcdump support for mobile devices.

dotnet-dsrouter add some useful command to make mobile device interaction more conveniently, such as the dotnet-dsrouter android command.

The instructions provided by current document works fine when the default ip address is free, (checking the source code, it is 127.0.0.1:9000 by default), but there will be cases that port 9000 is occupied by other process, such as firm-wise internal security application, which one is not able or hard to alter.

Under such scenario, when working with dotnet-gcdump, the dotnet-dsrouter setup instructions provided with dotnet-dsrouter, dotnet-gcdump are not working.

By browsing the source code of dotnet-dsrouter and manual testing, the actually working dotnet-dsrouter config (manually checked with android device) is dotnet-dsrouter server-server -tcps 127.0.0.1:{port} -fp Android, with no ipcs option. If ipcs option added, dotnet-gcdump will not be able to collect the gcdump from mobile device, but only the dotnet-dsrouter's.

I only checked the work-around with android device though.

Please verify the work-around and consider add documentation for such scenario.

@AlexeiNaabal AlexeiNaabal added the documentation Documentation related issue label Feb 23, 2024
@hoyosjs
Copy link
Member

hoyosjs commented Feb 23, 2024

cc @mdh1418

@mdh1418 mdh1418 added this to the 9.0.0 milestone Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation related issue
Projects
None yet
Development

No branches or pull requests

3 participants