`dotnet -d` dumps stack to console
See original GitHub issueI just did dotnet -d
but without anything else
dan@danmose3:~/git/fastregex$ dotnet -d
Telemetry is: Disabled
System.ArgumentException: cannot be empty (Parameter 'name')
at Microsoft.DotNet.Cli.Utils.ToolCommandName..ctor(String name)
at Microsoft.DotNet.CommandFactory.LocalToolsCommandResolver.Resolve(CommandResolverArguments arguments)
at Microsoft.DotNet.CommandFactory.CompositeCommandResolver.Resolve(CommandResolverArguments commandResolverArguments)
at Microsoft.DotNet.CommandFactory.CommandResolver.TryResolveCommandSpec(ICommandResolverPolicy commandResolverPolicy, String commandName, IEnumerable`1 args, NuGetFramework framework, String configuration, String outputPath, String applicationName)
at Microsoft.DotNet.CommandFactory.CommandFactoryUsingResolver.Create(ICommandResolverPolicy commandResolverPolicy, String commandName, IEnumerable`1 args, NuGetFramework framework, String configuration, String outputPath, String applicationName)
at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient)
at Microsoft.DotNet.Cli.Program.Main(String[] args)
dan@danmose3:~/git/fastregex$
My expectation is that it doesn’t dump stack to the console.
version:
dan@danmose3:~/git/fastregex$ dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 3.1.100
Commit: cd82f021f4
Runtime Environment:
OS Name: ubuntu
OS Version: 18.04
OS Platform: Linux
RID: ubuntu.18.04-x64
Base Path: /usr/share/dotnet/sdk/3.1.100/
Host (useful for support):
Version: 3.1.0
Commit: 157910edee
.NET Core SDKs installed:
3.1.100 [/usr/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
dotnet-stack diagnostic tool - .NET CLI
Learn how to install and use the dotnet-stack CLI tool which captures and prints the managed stacks for all threads in the target...
Read more >dotnet-dump diagnostic tool - .NET CLI
The dotnet-dump global tool is a way to collect and analyze dumps on Windows, Linux, and macOS without any native debugger involved.
Read more >How to print the current Stack Trace in .NET without any ...
Create a breakpoint where you want to see the stack trace. · Right-click the breakpoint and select "Actions..." in VS2015. · Make sure...
Read more >dotnet-dump analyze Unhandled exception: System. ...
In this case I see that the dump was loaded and we are starting to use the console provider, we are trying to...
Read more >Manual: Stack trace logging
To use the Console, select the Console menu button, then: To select the same stack trace option for all Console message types, select...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
cc @wli3 can you take a look? Maybe this is a good opportunity for @sfoslund to familiarize herself with this part of the code.
yes it was… thanks.