Debug Widget Qt
Search
Re: Debug Widget Qt
I am afraid I could not help you more, on windows OS I am using Visual Studio that for me is much more convenient than Qt Creator for debugging purpose.
Sebastien
Sebastien
-
Kshitij Mayekar
- Posts: 8
- Joined: Mon Jan 16, 2017 6:46 am
Re: Debug Widget Qt
Hey! were you able to use the debugger for EWO.
If yes, how ?
How did you ensure your dll(ewo) is called when debugging.
Thanks!
If yes, how ?
How did you ensure your dll(ewo) is called when debugging.
Thanks!
Re: Debug Widget Qt
The "attach to process" method described by Martin Koller works fine.
You have to copy your compiled libraries/EWOs to your WCCOA project directory\\bin
Cheers,
Sebastien
You have to copy your compiled libraries/EWOs to your WCCOA project directory\\bin
Cheers,
Sebastien
Re: Debug Widget Qt
... and don't forget to copy the .debug/.pdb files to bin as well.
-
Kshitij Mayekar
- Posts: 8
- Joined: Mon Jan 16, 2017 6:46 am
Re: Debug Widget Qt
Hey,
I am not able to to debug my EWO.
I copied the debug builds amd .pdb file to C:\\Siemens\\Automation\\WinCC_OA\\3.15\\bin\\widgets\\windows-64\\ folder and also too my project/bin folder.
Problem : I get unable to load EWO when I draw this debug EWO to a panel.
I intend to start this panel through UI manager and attach my debugger to it.
Please advice.
Thanks,
Kshitij
I am not able to to debug my EWO.
I copied the debug builds amd .pdb file to C:\\Siemens\\Automation\\WinCC_OA\\3.15\\bin\\widgets\\windows-64\\ folder and also too my project/bin folder.
Problem : I get unable to load EWO when I draw this debug EWO to a panel.
I intend to start this panel through UI manager and attach my debugger to it.
Please advice.
Thanks,
Kshitij
Re: Debug Widget Qt
> copy to C:\\Siemens\\Automation\\WinCC_OA\\3.15\\bin\\widgets\\windows-64\\
This is useless
> copy my project/bin folder
This is Ok
Before copy you have to close all the ui and ctrl manager using bin libs, otherwise the ui you launch for debug will not reload the libs
in addition for windows OS you have to check yourProj\\bin is in the environment variable PATH.
This is useless
> copy my project/bin folder
This is Ok
Before copy you have to close all the ui and ctrl manager using bin libs, otherwise the ui you launch for debug will not reload the libs
in addition for windows OS you have to check yourProj\\bin is in the environment variable PATH.
-
Gertjan van Schijndel
- Posts: 634
- Joined: Mon Aug 02, 2010 10:37 am
Re: Debug Widget Qt
Kshitij Mayekar wrote:
How to build an EWO?
Library Include Problem on EWO
This sound like a missing library issue as mentioned in the topics:Problem : I get unable to load EWO when I draw this debug EWO to a panel.
How to build an EWO?
Library Include Problem on EWO
-
Kshitij Mayekar
- Posts: 8
- Joined: Mon Jan 16, 2017 6:46 am
Re: Debug Widget Qt
I am able to load release verion of my EWO. The problem is when I try to load debug build. Do I need separate debug libs of dependencies as well ?
-
Gertjan van Schijndel
- Posts: 634
- Joined: Mon Aug 02, 2010 10:37 am
Re: Debug Widget Qt
If your debug build compiles against debug version of libraries, then you also need the debug libraries.
But you could instead activate the debug generation of your release version and debug that version.
But you could instead activate the debug generation of your release version and debug that version.