Questions tagged [diagnostics]

503 questions
7
votes
2 answers

Accessing Error log in shiny-server deployed on AWS instance

I have a shiny app that runs fine on my local machine in RStudio. I have launched an AWS EC2 Ubuntu instance and installed R and shiny-server on it. When I access the app via browser, the app crashes at a (seemingly) arbitrary point. Where can I…
Fabian Haribo
  • 191
  • 1
  • 5
7
votes
1 answer

Analyze .exe/.dll (Windows PE) files for code bloats

Let's say I have a project with a dozen of different modules which produce one resultant DLL, how can I analyze it so that I can identify the actual file size that each module/functions contribute? I know it might be impossible with a Release build…
kizzx2
  • 18,775
  • 14
  • 76
  • 83
7
votes
2 answers

CompositeData has no keys() method?

I'm using JMX to save some diagnostic information from a remote process. Looking at the interface in jconsole shows that the return type is CompositeData (the data actually comes back as CompositeDataSupport). I want to output all the key/value…
Luke Quinane
  • 16,447
  • 13
  • 69
  • 88
7
votes
2 answers

List all traits implemented by a type in a scope

For the sake of making debugging easier and such, I would like to know all traits implemented for a type within a certain scope. Can I get rustc to provide me this information? If so, how?
user
  • 4,920
  • 3
  • 25
  • 38
7
votes
6 answers

Is hardware impossible to debug without software?

Disclaimer: I am (mostly) hardware ignorant. This is probably my problem. However I find it hard to accept that it is not possible to debug hardware so therefore I just wanted to get some second opinions. We have an issue. Where certain actions…
Quibblesome
  • 25,225
  • 10
  • 61
  • 100
7
votes
2 answers

Can Glimpse provide diagnostics when using the SqlClient namespace classes

I've downloaded Glimpse and the Glimpse.ADO extension and installed it on my test instance. I thought I'd get a capture of any sql that was executed, but it seems like it doesn't capture commands with the way our code is written. using…
Aheho
  • 12,622
  • 13
  • 54
  • 83
7
votes
1 answer

Azure Diagnostics not working in my Worker Role

I'm trying to get trace logs for my worker role in windows azure but it's not working and cannot see any error. I've configured my application to use azure diagnostics as explained here:…
Escobar5
  • 3,941
  • 8
  • 39
  • 62
6
votes
0 answers

C#: Diagnostic tools not showing garbage collection but normal runtime does

Problem I am trying to diagnose a potential memory leak/problem in my code. Using the memory diagnostic tools with all other options unset, the memory usage looks normal, but there are no incidents of garbage collection shown (i.e. no yellow…
Misguided Chunk
  • 161
  • 1
  • 10
6
votes
2 answers

Any way to avoid using a macro for this C++ scoped logger?

I am refreshing some very old code in our diagnostic library to modern C++, and one piece of code remains that has always bothered me. It is a very common kind of scoped logging function that uses a macro to define the storage of logging data in an…
Steven
  • 619
  • 5
  • 24
6
votes
2 answers

How to use GCC diagnostic pragma with C++ template functions?

I would like to use g++ and -Werror, so I have now to disable warnings for 3rd-party libraries I have no control of. The solution provided by http://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html works very well, allowing simply to wrap the…
Julius
  • 93
  • 2
  • 6
6
votes
1 answer

Cross platform crash-reporters

Are there any cross platform crash reporters for C++ besides google-break pad? I have seen google-breakpad but it has very very limited documentation, and I have nothing seen very much mentioned here, google or other source websites
chadb
  • 1,138
  • 3
  • 13
  • 36
6
votes
4 answers

Retrieving Azure diagnostics

I have an app running on Azure which logs (traces, really) to the Azure Diagnostics storage. I'm looking for a good tool which can be used to analyze these logs. I know it's possible to retrieve these trace logs using the Server Explorer in Visual…
John
  • 61
  • 1
6
votes
7 answers

Policy for fixing broken nightly builds

I guess everybody agrees that having continuous builds and continuous integration is beneficial for quality of the software product. Defects are found early so they can be fixed ASAP. For continuous builds, which take several minutes, it is usually…
lumi77
  • 247
  • 2
  • 4
6
votes
4 answers

What is the most appropriate performance counter type for measuring operation time?

Say I have a method Foo() and I want to measure the time in milliseconds it took to execute which type of Windows Performance Counter should I be using? var stopwatch = new Stopwatch(); stopwatch.Start(); Foo(); stopwatch.Stop(); counter.RawValue =…
Muhammad Hasan Khan
  • 34,648
  • 16
  • 88
  • 131
6
votes
4 answers

Performance and diagnostics tools for Silverlight

WPF 3.5 has PresentationTraceSources for diagnostics and WPFPerf for performance and data binding diagnostics. Are there equivalent tools / libraries for Silverlight?
Richard Szalay
  • 83,269
  • 19
  • 178
  • 237