COVESA/dlt-viewer

dlt-viewer closes without error

darkreeper opened this issue · 7 comments

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

@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.

I will try to build it in debug mode.

Some more information:

  • running on Windows 10
  • using v2.25.0 from this repo

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

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

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.

@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.

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?

@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