-
Notifications
You must be signed in to change notification settings - Fork 74
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
Application start instruction #112
Comments
Hi. Ok, let's figure it out :).
ImagePath: Honestly I don't know exactly. It's in the DebugDiag API, but SuperDump actually does not set it. I guess it can be a path, where the windows debugger could look for images ( Can you share the complete stacktrace of your exception? |
By the way: What are you trying to achive? Do you just want to use SuperDump, or do you want to develop/compile it? |
Hey.
Here we have output from "Output" window in Visual Studio:
I prepare my minidump by using dbghelp.dll.
|
Ok, I Solve 0 and 1. When I use .NET CLI I can restore and build app. After restore and build I can open project in Visual Studio (really weird behaviour) Thanks for your help! |
Oh, interesting. Thanks for letting me know. Did you have to delete global.json to make it work? |
Yes, I did it. |
Concerning the options for SuperDump.DebugDiag: Did you not set But I'd generally suggest to just use the command line arguments:
|
Concerning seeing CLRMD "in practice", I would much rather suggest to look at the An interesting class is maybe https://github.com/Dynatrace/superdump/blob/master/src/SuperDump/Analyzers/ThreadAnalyzer.cs. It gathers all thread stacktraces (native and managed) with and combines them. It uses CLRMD as well as dbgeng.dll directly. You can direclty run it like this:
Make sure to use the right bitness of SuperDump.exe (it must match your dump). If unsure, this is what |
Im new in open source in Github - should we continue this topic if I have more questions?
|
It says it cannot find SuperDumpx86. You probably did build the solution for x64/AnyCpu, but you also need to build it for x86 to be able to analyze 32-bit dumps. |
Maybe the relative paths are messed up. SuperDumpSelector looks at these directories for "SuperDump.exe": https://github.com/Dynatrace/superdump/blob/master/src/SuperDumpSelector/App.config Judging from your path Can you check if |
Thanks for your help - everything is working correctly. Thanks a lot for your help! |
Hey,
I have few problems with your project :(
To start I should run cmd files from building directory. I receive errors with .NET Core (path are missing wtf) (please check attachment)
dockeroutput.txt
I try to use your application on Windows with Visual Studio 2017 (.NET Core 2.0 and .NET Framework are available on my machine). When I open solution on Visual Studio I receive error popup with information "Project file is incomplete. Expected imports are missing".
I saw that you have sample console application - SuperDump.DebugDiag. I pass parameters to console app (DumpFilePath, Overwrite (true)) and I receive multiple exceptions when trying to run code (null reference exception for example on:
analyzer.RunAnalysisRules(progress, options.SymbolPath, options.ImagePath, options.ReportFile);
What is exactly ImagePath and could you pass example input to SuperDump.DebugDiag application?
Thanks for your help!
The text was updated successfully, but these errors were encountered: