Hi,
I have an issue in my application, I am working with MVC. I have customised view, model & proxy model.
When i build this app in debug mode it working fine & cool, But when i build this app in release mode The app is crashing.
I tried debugging it & found its crashing when it calls proxyModel::columnCount()


When I debug I see call stack Info as below (Starting from main & crashing at columnCount())

proxyModel::columnCount(); //App is crashing here
headeview->setModel(model);
view->setModel(model);
.......
........
main()
my model from qabstractitemmodel:

Qt Code:
  1. int model::columnCount(const QModelIndex &parent) const
  2. {
  3. return 1;
  4. }
To copy to clipboard, switch view to plain text mode 

I have nothing Implemented in proxy except filterAcceptRows()
Sorry but not able to provide much code. What might gone wrong in my application ??



And 1 more Qs: Is there simple or standard way to debug MVC, I see debugging MVC is very difficult.