Unsolved QFileDialog throw exception, unable to debug code after
-
Hello,
I have QWizard, on the first page I have browse button which calls:
ui->pathBox->setText(QFileDialog::getExistingDirectory(Q_NULLPTR, tr("Choose map folder")));
QFileDialog::getExistingDirectory throw these errors to debug console:
6876 16:17:03.232 ShipAssertNoUI '.sl5' (0x2e736c35) 6876 16:17:03.232 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 6876 16:17:03.885 ShipAssertNoUI '.sl5' (0x2e736c35) 6876 16:17:03.885 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 6876 16:17:03.894 ShipAssertNoUI '.sl5' (0x2e736c35) 6876 16:17:03.894 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 6876 16:17:03.902 ShipAssertNoUI '.sl5' (0x2e736c35) 6876 16:17:03.902 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 6876 16:17:03.910 ShipAssertNoUI '.sl5' (0x2e736c35) 6876 16:17:03.910 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 10980 16:17:03.918 ShipAssertNoUI '.sl5' (0x2e736c35) 10980 16:17:03.918 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 10980 16:17:03.925 ShipAssertNoUI '.sl5' (0x2e736c35) 10980 16:17:03.925 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 10980 16:17:03.933 ShipAssertNoUI '.sl5' (0x2e736c35) 10980 16:17:03.934 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 10980 16:17:03.942 ShipAssertNoUI '.sl5' (0x2e736c35) 10980 16:17:03.942 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 10980 16:17:03.950 ShipAssertNoUI '.sl5' (0x2e736c35) 10980 16:17:03.950 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 12824 16:17:03.958 ShipAssertNoUI '.sl5' (0x2e736c35) 12824 16:17:03.958 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 12824 16:17:03.966 ShipAssertNoUI '.sl5' (0x2e736c35) 12824 16:17:03.967 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 12824 16:17:03.975 ShipAssertNoUI '.sl5' (0x2e736c35) 12824 16:17:03.976 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 12824 16:17:03.983 ShipAssertNoUI '.sl5' (0x2e736c35) 12824 16:17:03.983 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 12824 16:17:03.991 ShipAssertNoUI '.sl5' (0x2e736c35) 12824 16:17:03.991 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 6016 16:17:04.005 ShipAssertNoUI '.sl5' (0x2e736c35) 6016 16:17:04.005 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 6016 16:17:04.016 ShipAssertNoUI '.sl5' (0x2e736c35) 6016 16:17:04.016 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 6016 16:17:04.027 ShipAssertNoUI '.sl5' (0x2e736c35) 6016 16:17:04.027 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 6016 16:17:04.037 ShipAssertNoUI '.sl5' (0x2e736c35) 6016 16:17:04.037 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 6016 16:17:04.045 ShipAssertNoUI '.sl5' (0x2e736c35) 6016 16:17:04.045 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 12312 16:17:04.054 ShipAssertNoUI '.sl5' (0x2e736c35) 12312 16:17:04.054 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 12312 16:17:04.061 ShipAssertNoUI '.sl5' (0x2e736c35) 12312 16:17:04.061 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 12312 16:17:04.069 ShipAssertNoUI '.sl5' (0x2e736c35) 12312 16:17:04.069 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 12312 16:17:04.077 ShipAssertNoUI '.sl5' (0x2e736c35) 12312 16:17:04.077 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX 12312 16:17:04.085 ShipAssertNoUI '.sl5' (0x2e736c35) 12312 16:17:04.085 Throwing exception: Unspecified error (.sl5) Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX Exception at 0x76350232, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in GROOVEEX
I have breakpoint on Page 2 but its not happening thanks to this.
Version: Qt 5.7 x64 msvc 2015
OS: Win 10 x64 build 14915Thanks.
-
Hi,
Try with an alien (non-native, theQFileDialog::DontUseNativeDialog
option) file dialog and see if that solves the problem.Kind regards.
-
Thanks, it solves problem.. but shouldn't native dialog work aswell?
-
@glararan said in QFileDialog throw exception, unable to debug code after:
Thanks, it solves problem.. but shouldn't native dialog work aswell?
It should, but there may be some bug, so that's why I suggested you try with the non-native.