Questions tagged [diagnostics]

503 questions
0
votes
2 answers

Winforms application crashes

I am developing an application in Visual C# using winforms. The application is basically a screen with three tabs. It shows values from processes running on the system per second (using System.Diagnostics.Process[] ). It generates and updates lot…
arvind
  • 1,385
  • 1
  • 13
  • 21
0
votes
2 answers

SQL connection failure and network reliability

Are there any tools to quickly test network reliability to a SQL server? We are receiving error reports from a particular customer who has a random "connection failure" message popup throughout the day. We have identified a few spots where this…
bugtussle
  • 1,416
  • 11
  • 15
0
votes
0 answers

Logging strategy to generate efficient diagnostic messages

I'm gathering ideas, all proposals are welcome. In a real time complex data processing library, I need to generate very explicit and complete diagnostic messages when a serious exception is thrown. Memory print and CPU usage is a big constraint. I…
Zofren
  • 1,190
  • 2
  • 11
  • 22
0
votes
1 answer

How to get detailed diagnostics from CRT Memory Manager in Windows?

For the purposes of debugging and diagnosing memory fragmentation, I'd like to be able to query the memory manager (the default one provided for C++ applications) for certain information, such as the number of non-contiguous free blocks and the size…
void.pointer
  • 24,859
  • 31
  • 132
  • 243
-1
votes
1 answer

How to write 2E SID with more than 8 byte data using CAPL program to receive ISOTP multiframe UDS

I want to receive more than 8 bytes data when CAPL program is sending a message from CANOe to ECU. I have implemented ISOTP protocol on ECU for transmitting more than 8 bytes data and it is working fine. Now my problem is I am trying to call the…
-1
votes
1 answer

Error capl error 17-0098 while target is set

im writing a capl test case and getting the following error when expecting a test response Error capl error 17-0098 , even thought i already defined target and request is send successfully its just the response that capl test seem to not catch…
-1
votes
2 answers

Should compilation of previously non-preprocessed source code lead to the same diagnostics as compilation of previously preprocessed source code?

Consider this scenario: $ cat t783.c #define EXPR ("xxx" + 1) char* s = EXPR; $ clang t783.c -c t783.c:2:11: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] $ clang t783.c -E | clang -xc - -c t783.c:2:18:…
pmor
  • 5,392
  • 4
  • 17
  • 36
-1
votes
1 answer

R function produces NAN, Diagnostic. STAT::Optim

I am running this code in order to calculate MLE for Beta Binomial distribution in a Zero-Inflated Model. However I am getting some error for a specific data. Would you please help me out? Here is the R code: type = "zi"; lowerbound = 0.01;…
-1
votes
1 answer

Use of struct in CAPL CANalyzer

I'm writing a piece of code to simulate some stuff of diagnostic. I've created with CANalyzer, a panel with tons of information that need to be shown using a picklist (called combobox) What I want to do is to create a giant array of that struct…
jonsey
  • 39
  • 7
-1
votes
1 answer

Visual Studio 2017, The diagnostic tools failed unexpectedly. Output "Unzulässige Funktion" (invalid function)

When i start the C++ debugger, the "Diagnostic Tools" windows shows this error. "The diagnostic tools failed unexpectedly." The output windows shows "Unzulässige Funktion." "Unzulässige Funktion." It doesn`t matter what project i open, the error…
-1
votes
1 answer

Install and configure Debug Diagnostics tool on 100 servers

I am using ansible to deploy Debug Diagnostics tool msi package to 100 servers, however I need to export configuration for IIS. I can not do that manually and I could not find any CLI or powershell script to do it. Any help would be…
-1
votes
1 answer

ExceptionDetailsProvider (in Asp Net Core)

https://github.com/aspnet/Diagnostics/tree/082d505977d72c75b68935c93c21feded6928e5f/src/Microsoft.AspNetCore.Diagnostics/DeveloperExceptionPage I wants to implement custom DeveloperExceptionPageMiddleware since its a open source project i am not…
Rahul Uttarkar
  • 3,367
  • 3
  • 35
  • 40
-1
votes
1 answer

Timing processes in C#

I am developing a program in LinqPad that will scrub through files and return a csv of some information I am curious about. I need to track the time it takes for certain processes to execute and was trying to use the Stopwatch method to do…
-1
votes
1 answer

Importing and exporting to a text file - Python

I am trying to create a progam which diagnoses your computer by asking you questions. At the moment, the questions and answers are in lists in the program. How would I have all the questions and answers in a .txt file and import them in when the…
-1
votes
1 answer

Why the time needed for running code in CPU Sampling is half of code own run time?

I'm trying to work with the performance and diagnostics section of Visual Studio and interestingly found out that the time needed for running code in CPU Sampling is half of code run time. Why this happens? Can I use this and instead of running…
Mehdi
  • 211
  • 2
  • 11
1 2 3
33
34