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

Eike Ziller Eike.Ziller at qt.io
Thu Apr 11 13:27:43 CEST 2019



> 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



More information about the Qt-creator mailing list