COVESA / dlt-viewer

Diagnostic Log and Trace viewing program
Other
420 stars 238 forks source link

dlt-viewer closes without error #427

Open darkreeper opened 6 months ago

darkreeper commented 6 months ago

Hello, we are using the dlt-viewer to get diagnostics for analysis and from time to time the dlt-viewer is closing without any error messages. This is especially a problem while running endurance tests over weekends and the tool is closing itself on the second day.

Is there the possibility to enable some sort of debugging to hunt the down why it is closing?

Thanks. Chris

alexmucde commented 6 months ago

@darkreeper Looks like a bug/crash to me. Can you provide more information when this happens? Best would be to build and run the DLT Viewer in Debug mode, so that you get more details where and when the crash happens.

darkreeper commented 5 months ago

I will try to build it in debug mode.

Some more information:

I can't really tell when this is happening because it is very random.

darkreeper commented 5 months ago

@alexmucde How can I build it with debug mode? I used build_sdk_windows_qt5_MSVC_cmake_interactive.bat for now

MaxMagazin commented 5 months ago

Hi Alex / @alexmucde one builds the code in debug mode with CMAKE_BUILD_TYPE=Debug flag, right? How can I afterwards start the DLT Viewer in Debug mode? Can not find the proper command line option for that. Any help is appreciated.

Problem: I can start the DLT Viewer normally, but I am experiencing a crash, when I try to make a connection Env: macOs, M3-chip.

alexmucde commented 5 months ago

@MaxMagazin I am using the Qt Creator to build the DLT Viewer with Debug symbols and start in Debug Mode. But i am using DLT Viewer mainly on Windows platform.

MaxMagazin commented 5 months ago

Hi Alex / @alexmucde can you then put some light here (or in my separately created issue #440) on the details: what is necessary for running DLT-Viewer in debug mode? I assume there is a flag for that or something, right? How exactly do you do that on Windows? Using any script?

alexmucde commented 5 months ago

@MaxMagazin I am using QtCreator.

You can open the DLT Viewer project with the .pro file in the Qt Creator and then select the Target build and then start with the Turtle icon.

image