tag:blogger.com,1999:blog-2996035476649681224.post4649104977804060340..comments2023-10-24T08:14:26.802-07:00Comments on Robert Knight's Blog: Qt InspectorAnonymoushttp://www.blogger.com/profile/18355855797731147055noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-2996035476649681224.post-18985514824321931672012-06-16T06:46:04.370-07:002012-06-16T06:46:04.370-07:00It won't work in actual fact, that is exactly ...It won't work in actual fact, that is exactly what I suppose.bethanybeachhouserentalsde.comhttp://bethanybeachhouserentalsde.comnoreply@blogger.comtag:blogger.com,1999:blog-2996035476649681224.post-2547711730290270932012-03-03T12:37:56.418-08:002012-03-03T12:37:56.418-08:00> Should it be possible to build under windows?...> Should it be possible to build under windows?<br /><br />No. The cross-process communication and logic to inject a helper DLL using a debugger hasn't been ported to Windows.<br /><br />KDAB have built a more sophisticated tool which does what Qt Inspector does plus more and it looks like that does have support for Windows: http://www.kdab.com/kdab-products/gammaray/Anonymoushttps://www.blogger.com/profile/18355855797731147055noreply@blogger.comtag:blogger.com,1999:blog-2996035476649681224.post-85937779111503742022012-03-03T05:21:33.937-08:002012-03-03T05:21:33.937-08:00Under Windows VC2010 Express
Unable to find
#inclu...Under Windows VC2010 Express<br />Unable to find<br />#include "inspector.pb.h"<br />and not finding<br />#include <br /><br />Should it be possible to build under windows?junkewhttps://www.blogger.com/profile/00378045075034591055noreply@blogger.comtag:blogger.com,1999:blog-2996035476649681224.post-30079979470208863842011-11-27T12:56:08.151-08:002011-11-27T12:56:08.151-08:00Hi, I tried to build the Tool for hours with no su...Hi, I tried to build the Tool for hours with no success on Mac OSX 10.6.7. Unfortunately I have only very basic expericnes with CMake / Make.<br /><br />All I get is the following error:<br />make[2]: *** No rule to make target `CMakeFiles/QtInspector.dir/depend'. Stop.<br />make[1]: *** [CMakeFiles/QtInspector.dir/all] Error 2<br />make: *** [all] Error 2<br /><br />Hopefully you can give me some pointers. A google-search didn't help so far.Klemensnoreply@blogger.comtag:blogger.com,1999:blog-2996035476649681224.post-34410234079998041952011-07-26T05:55:58.851-07:002011-07-26T05:55:58.851-07:00@anonymous
This works by using something called p...@anonymous<br /><br />This works by using something called ptrace, you can block this.<br /><br />Read up on: /proc/sys/kernel/yama/ptrace_scope<br /><br />A suitable setting is to only allow injecting from parent applications, this allows debugging (and Qt Inspector with a slight mod) but disallow random injecting.<br /><br />A cool mod would be to write something that finds all QLineEdit and changes the echo mode. I've seen a windows 'hacking tool' which does this.Davehttps://www.blogger.com/profile/03482066561894182216noreply@blogger.comtag:blogger.com,1999:blog-2996035476649681224.post-86398425621678094622011-07-22T23:49:02.679-07:002011-07-22T23:49:02.679-07:00Aha! This makes Qt look like a .NET-like framework...Aha! This makes Qt look like a .NET-like framework. This was the last step. I've noticed that you can't easily debug Qt applications due to the signals and slots, and I guess that any code using the Qt Meta Object System can't be easily debugged either. Well, this is what happens when a commercial company writes the code, probably. Same as using in-house containers instead of the STL ones. I guess it's time to switch to GTK+, now that they have released a new version.<br /><br />But otherwise, this is indeed an invaluabvle tool, because as stated above, you can't easily debug Qt applications using plain GDB.Ignathttps://www.blogger.com/profile/01505045570297779840noreply@blogger.comtag:blogger.com,1999:blog-2996035476649681224.post-14287924102354450762011-07-22T06:15:38.328-07:002011-07-22T06:15:38.328-07:00This is great! Thanks for sharing :-)This is great! Thanks for sharing :-)Vishesh Yadavhttp://www.vishesh-yadav.comnoreply@blogger.comtag:blogger.com,1999:blog-2996035476649681224.post-76257622176289755902011-07-22T02:16:17.306-07:002011-07-22T02:16:17.306-07:00Hi Ruurd,
The tool writes the output from gdb to ...Hi Ruurd,<br /><br />The tool writes the output from gdb to a file called gdb.log in the directory which qtinspector. That might be helpful to find out why it isn't working.<br /><br />@Elv13,<br /><br />Thanks for the advice. I must admit I've always run the tool directly from the build directory.<br /><br />@Anonymous,<br /><br />The application has the same security restrictions as a debugger. If you can attach to a process and manipulate it with gdb then you can inspect it, otherwise this tool will not be able to connect to the application.Anonymoushttps://www.blogger.com/profile/18355855797731147055noreply@blogger.comtag:blogger.com,1999:blog-2996035476649681224.post-83364428416959155492011-07-22T00:55:59.111-07:002011-07-22T00:55:59.111-07:00Can you please include that in kdesdk?Can you please include that in kdesdk?dhaumannhttps://www.blogger.com/profile/06242913572752671774noreply@blogger.comtag:blogger.com,1999:blog-2996035476649681224.post-88574663784200053292011-07-22T00:40:58.416-07:002011-07-22T00:40:58.416-07:00Woww, the app itself is already great, but I'm...Woww, the app itself is already great, but I'm not sure I like the fact that any binary can hijack any Kde/Qt app. It's not your fault, I know, but I'm realizing that.<br />Just think about making dolphin icons pointing to some evil-minded website by just overriding QAction.. Is it a way to protect widgets from being modified that way ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2996035476649681224.post-32656922740657559772011-07-21T22:32:35.190-07:002011-07-21T22:32:35.190-07:00Will ApiTrace (on Zack Ruskin's blog help?Will ApiTrace (on Zack Ruskin's blog help?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2996035476649681224.post-81990414160158303112011-07-21T21:53:39.582-07:002011-07-21T21:53:39.582-07:00Hi, great tool. I installed it as soon as I saw th...Hi, great tool. I installed it as soon as I saw this.<br /><br />Please add a proper make install to your cmake script. Without it your application have hard time finding it's own .soElv13https://www.blogger.com/profile/10759792077490807328noreply@blogger.comtag:blogger.com,1999:blog-2996035476649681224.post-37874589783405194622011-07-21T19:42:47.996-07:002011-07-21T19:42:47.996-07:00Hmm. On openSUSE even after fixing the path to the...Hmm. On openSUSE even after fixing the path to the shared object the inspector still crashes gdbhelper on dlopen-ing the so...Ruurdhttps://www.blogger.com/profile/12040331610695214599noreply@blogger.com