[Qt-creator] Qt Creator plugin: receiving debugging events and opening file and go to some line

Artem Razin artem.razin at gmail.com
Thu Apr 11 13:30:07 CEST 2019


Hi Eike,

>  Interesting. I wonder if it would fit into Debug mode like the other
analyzers (like Valgrind, QML Profiler etc)?

It should: Deleaker works side by side with a debugger.

> Core::EditorManager::openEditorAt(myFileName, myLine)

I will try, thank you for the idea!

On Thu, Apr 11, 2019 at 2:27 PM Eike Ziller <Eike.Ziller at qt.io> wrote:

>
>
> > On 11. Apr 2019, at 12:58, Artem Razin <artem.razin at gmail.com> wrote:
> >
> > Hi,
> >
> > I must say this is my first post to this list and I hope that my
> questions are ok for this list.
> >
> > I am an author of Deleaker, this is a memory profiler for C++/Windows.
> >
> > Currently I am working on Deleaker version that works as a plugin in Qt
> Creator, just one screenshot:
> > https://i.snag.gy/mQwu9h.jpg
>
> Interesting. I wonder if it would fit into Debug mode like the other
> analyzers (like Valgrind, QML Profiler etc)?
>
> > There are two things I was not able to manage to do.
> >
> > From Deleaker I need to open a source file in Qt Creator and put cursor
> to some line. How to
> > achieve it?
>
> Core::EditorManager::openEditorAt(myFileName, myLine)
>
> Br, Eike
>
> >
> > Another issue is debugging events. Deleaker needs to be notified when a
> debugging stops. Is there a documented way to "subscribe" to it?
> >
> > Thank you in advance!
> >
> > --
> > Best regards,
> > Artem A. Razin
> > _______________________________________________
> > Qt-creator mailing list
> > Qt-creator at qt-project.org
> > https://lists.qt-project.org/listinfo/qt-creator
>
> --
> Eike Ziller
> Principal Software Engineer
>
> The Qt Company GmbH
> Rudower Chaussee 13
> D-12489 Berlin
> eike.ziller at qt.io
> http://qt.io
> Geschäftsführer: Mika Pälsi,
> Juha Varelius, Mika Harjuaho
> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht
> Charlottenburg, HRB 144331 B
>
>

-- 
Best regards,
Artem A. Razin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20190411/aba115dd/attachment.html>


More information about the Qt-creator mailing list