<div dir="ltr"><div><div><div><div>Hi<span name="jacques theron" class=""> Jacques,<br><br></span></div><span name="jacques theron" class="">Choqok is using the KDE Single instance method to make sure user won't open more than one instance of the application. thus your normal debugging procedure will fail as you mentioned.<br></span></div><span name="jacques theron" class="">The solution is that you run choqok first, and then attach the debugger to its process, and continue the debugging.<br><br></span></div><div><span name="jacques theron" class="">PS: For further talks about development, please join the development ML, and use it for starting discussions. there's more people to help here.<br><br></span></div><span name="jacques theron" class="">Good luck,<br></span></div><span name="jacques theron" class="">Mehrdad<br> </span></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 26, 2015 at 3:06 PM, jacques theron <span dir="ltr"><<a href="mailto:jacques@itopia-biz.info" target="_blank">jacques@itopia-biz.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Guys<br>
I hate doing this (asking for help) but find advice on working with Choqok code on the internet scarce... Before I start - thank you for what you have done to make Choqok available to us!<br>
[I am an experienced developer - with about 10 years C++ work behind me, but that almost always working in Visual Studio on the Microsoft platform. I use Debian (LMDE) for my primary OS, love working in Python, but make my living coding nowadays mostly in C# on Windows - I work in Virtual machines].<br>
<br>
I was frustrated with Choqok < 1.5 not displaying images in the primary screen and was delighted to see this is now supported in version 1.5.<br>
This I had to build from source as I could not find a repository with binaries for my version of Mint (Linux itopia-mint-i7 3.17-2.dmz.2-liquorix-amd64 #1 ZEN SMP PREEMPT Debian 3.17-3 (2014-11-06) x86_64 GNU/Linux). I would like the quick tweet and manual retweet to allow me to add line feeds (it seems to post the tweet when a CR gets keyed in - so started looking at your source, KDE (which I use), Qt and so on. It seems something I need to get active in - hence my question(s) to you.<br>
<br>
I have been loading the source in Qt Creator and in Eclipse - both times by loading/Importing CMakeLists.txt. Using this I have been able to build the project from the IDE - and I can set breakpoints which breaks if I run the application in choqok/main.cpp in function main().<br>
However, when I step into the second last line ( ChoqokApplication app;), the debugger breaks inside the constructor of class ChoqokApplication, but then I cannot step through the full constructor function. (Choqok does launch and appears to work 100%, but no breakpoints are active...)<br>
<br>
I tried to reconfigure cmake to include debug information with the -DCMAKE_BUILD_TYPE=DEBUG switch - but this does not seem to work either.<br>
<br>
Please give me some pointers about what I am doing wrong. (I realise my knowledge of the build process and build chain on Linux is still primordial, and am prepared to put in what is needed to become comfortable with it all). But perhaps you guys can assist me a little?<br>
If you have links that will assist my learning, that will be great too...<br>
<br>
Thanks for reading my mail...<br>
<br>
Regards<span class="HOEnZb"><font color="#888888"><br>
Jacques Theron<br>
<br>
<br>
<br>
-- <br>
Dr Jacques Theron<br>
Cell 0823760609<br>
<br>
</font></span></blockquote></div><br></div>