Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No probes found #1021

Open
aloisimattia opened this issue Oct 25, 2024 · 0 comments
Open

No probes found #1021

aloisimattia opened this issue Oct 25, 2024 · 0 comments

Comments

@aloisimattia
Copy link

environment: win 11, qt 6.5.2, gammaray 3.1
issue: the application is built but when runned i get the following output message:
class QString __cdecl GammaRay::ProbeABIDetector::qtCoreForProcess(unsigned __int64) const Error: snapshot != INVALID_HANDLE_VALUE failed: Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
from self test:
Screenshot 2024-10-25 142205
i also tried to run QTCreator with admin priveleges, added -DGAMMARAY_INSTALL_QT_LAYOUT:BOOL=ON and adding install to build command.
the following config-gammaray.h is built:
`/*
config-gammaray.h.cmake

This file is part of GammaRay, the Qt application inspection and manipulation tool.

SPDX-FileCopyrightText: 2011 Klarälvdalens Datakonsult AB, a KDAB Group company [email protected]

SPDX-License-Identifier: GPL-2.0-or-later

Contact KDAB at [email protected] for commercial licensing options.
*/

#if !defined(CONFIG_GAMMARAY_H)
#define CONFIG_GAMMARAY_H

#define GAMMARAY_INSTALL_QT_LAYOUT
#define GAMMARAY_DEBUG_POSTFIX "d"

// relative install dirs
#define GAMMARAY_PLUGIN_INSTALL_DIR "plugins/gammaray"
#define GAMMARAY_LIBEXEC_INSTALL_DIR "bin"
#define GAMMARAY_BUNDLE_INSTALL_DIR ""
#define GAMMARAY_BIN_INSTALL_DIR "bin"
#define GAMMARAY_PROBE_INSTALL_DIR "bin"
#define GAMMARAY_TRANSLATION_INSTALL_DIR "translations"
#define GAMMARAY_QCH_INSTALL_DIR "share/doc/GammaRay"
#define GAMMARAY_TARGET_PLUGIN_INSTALL_DIR "plugins/gammaray-target"

#define GAMMARAY_PLUGIN_VERSION "3.1"
#define GAMMARAY_PROBE_ABI "qt6_5-MSVC-140-x86_64d"

// relative inverse install dirs
#define GAMMARAY_INVERSE_BUNDLE_DIR ""
#define GAMMARAY_INVERSE_BIN_DIR "../"
#define GAMMARAY_INVERSE_LIB_DIR "../"
#define GAMMARAY_INVERSE_PROBE_DIR "../"
#define GAMMARAY_INVERSE_LIBEXEC_DIR "../"

// probe name
#define GAMMARAY_PROBE_BASENAME "gammaray_probe"

// library ABI suffix, as used with >= Qt 5.14 on Android
#define ANDROID_ABI ""

// default network properties
#define GAMMARAY_DEFAULT_LOCAL_ADDRESS "127.0.0.1"
#define GAMMARAY_DEFAULT_LOCAL_TCP_URL "tcp://127.0.0.1"
#define GAMMARAY_DEFAULT_ANY_ADDRESS "0.0.0.0"
#define GAMMARAY_DEFAULT_ANY_TCP_URL "tcp://0.0.0.0"

// build options
#define HAVE_STDINT_H
/* #undef HAVE_BACKTRACE /
/
#undef HAVE_CXA_DEMANGLE */

#define HAVE_QT_WIDGETS
#define HAVE_QT_SCXML
#define HAVE_QT_SVG
#define HAVE_QT_DESIGNER

/* #undef HAVE_SYNTAX_HIGHLIGHTING */

/* #undef HAVE_ELF_H /
/
#undef HAVE_SYS_ELF_H /
/
#undef HAVE_ELF */

/* #undef GAMMARAY_CORE_ONLY_LAUNCHER /
/
#undef GAMMARAY_STATIC_PROBE /
/
#undef GAMMARAY_DISABLE_FEEDBACK */

#define QT_LIBINFIX ""

#endif // CONFIG_GAMMARAY_H
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant