QT C++ application is crashing at end of a method "}"
-
wrote on 1 Feb 2024, 10:47 last edited by
Hi All,
I have a QT C++ application in which I am seeing crash at the end of a method at closing brace "}". Any suggestion or steps to find would be of great help.thanks,
mp185388 -
Hi All,
I have a QT C++ application in which I am seeing crash at the end of a method at closing brace "}". Any suggestion or steps to find would be of great help.thanks,
mp185388wrote on 1 Feb 2024, 11:08 last edited by@mp185388 What kind of crash? (Does output report anything to you?)
Can you put an example of your code? -
Hi All,
I have a QT C++ application in which I am seeing crash at the end of a method at closing brace "}". Any suggestion or steps to find would be of great help.thanks,
mp185388@mp185388 did you forget to return something on a non void type function ?
-
Hi All,
I have a QT C++ application in which I am seeing crash at the end of a method at closing brace "}". Any suggestion or steps to find would be of great help.thanks,
mp185388wrote on 1 Feb 2024, 12:44 last edited by@mp185388 said in QT C++ application is crashing at end of a method "}":
I have a QT C++ application in which I am seeing crash at the end of a method at closing brace "}". Any suggestion or steps to find would be of great help.
That's almost no information.
Please show some code where it crashes or what you are doing exactly. -
Hi All,
I have a QT C++ application in which I am seeing crash at the end of a method at closing brace "}". Any suggestion or steps to find would be of great help.thanks,
mp185388 -
wrote on 2 Feb 2024, 07:24 last edited by
If you are on Windows, my experience is that the debugger most of the time points to the line after the current one. Which might mean that it actually crashed in the line before. But destructors is also a good guess.
1/6