I'm using eclipse + pydev + python 3.4 + pyQt5.5
I have a strange issue, with no traceback or any other message when program crashes.
When I try to write error producing code in place that executes when programm initiates (like init method of MainWindow) i've got my standart traceback and everything is ok.
But when i put my bad code in some kind of callback(like method connected to QPushButoon clicked signal) and push that button, program crashes but my eclipse console window stays empty. No traceback, no error message, just nothing.
Do you have any suggestions?
Edit. Sample code:
For this type of code, application will crash on startup and I WILL get the traceback, and everything will be ok:
class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
error_producing_string
And in this example application will crash on button click, but i won't get any error or traceback:
class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
self.btn = QPushButton('text', self)
self.button.clicked.connect(self.handleButton)
def handleButton(self):
error_producing_string