Comments (7)
I'm actually having trouble getting symbols to load even for a "basic" project where the PDB lives right next to the exe. Very strange. Would definitely love to debug MTuner and figure out why it's failing to load symbols! But building MTuner is prohibitively difficult. :(
from mtuner.
Can you issue a release that includes PDBs for MTuner so it can be easily debugged without having to make a full source build?
Sorry but that's unlikely to happen as it requires my time for an edge case (you needing to debug MTuner). Most of the pain you experience is likely related to Qt - I'm not having fun with that either.
Assuming you tried to build MTuner locally, how far did you get?
from mtuner.
Assuming you tried to build MTuner locally, how far did you get?
Here's where I currently am.
- Cloned main MTuner repo plus all sibling repos
- Installed QT via
vcpkg install qt5-base:x64-windows
- Installed lua 5.4.2 to
c:\stuff\path\lua
- Manually ran
set QTDIR_VS2022_x64=C:\temp\github\vcpkg\packages\qt5-base_x64-windows
(and x86) - Ran
genie vs2022
- VS2022 debug build fails
The error output shows a lua.exe
failure but I just noticed the Output window has useful information. So I think I'm missing "Lua lfs module". I'm not sure how to install that. The internet tells me to use the luarocks
package manager? So I downloaded and an installed that. But the LFS package doesn't appear to exist. So I'm not sure what "lua lfs module" is or how to get it. =\
from mtuner.
You'll need Lua for Windows in your path too, you can use this: https://github.com/milostosic/luaforwindows
I don't know how Qt is installed via vcpkg, normally I use Qt online installer - may differ.
from mtuner.
I had Lua installed, but it apparently didn't have all the right modules. Your version of course has what MTuner needs.
I'm now failing to compile because the particular version of QT I have installed doesn't have all the right files. What version of QT do you have installed?
from mtuner.
Ok phew I finally got it compiling. I had to make a couple of code changes to support 5.15.14 which is what gets installed when you download their current open source installer. I didn't take notes, but off the top of my head.
- change include path from
<QtGui/QActionGroup>
to<QtWidgets/QActionGroup>
- change
TreeMapView
m_treeLines
fromQList<QlineF>
toQVector<QLineF>
to fix compile error ingetTreeLines()
. (unable to convert List -> Vector) - change
stacktrace.cpp
to usemouseEvent->globalPos()
instead ofmouseEvent->globalPosition().toPoint()
- change QT6 libs to QT5. Maybe I could have installed QT6? The readme says MTuner was built with
Qt 5.13.0
but the latest release actually has QT6 libs.
In any case I think I'm unblocked.
May I request that future releases of MTuner include pdbs
? :) They really aren't that large and they compress 10:1. Including MTuner.pdb
would have saved me 4+ hours of build system debugging. Hopefully it's something your deployment process can include with a tiny amount of work the next time you release an update?
from mtuner.
Glad to hear you're unblocked! MTuner releases are based on 'retail' build that has no debug info so there are no PDBs to include.
from mtuner.
Related Issues (20)
- Header only library HOT 1
- Timeline selection is not filtering views HOT 1
- Call Stack Tree search or filter Name or File HOT 1
- Show allocation bytes in Call Stack Tree HOT 1
- How to build on MSYS2 MINGW64? HOT 1
- Memory Usage and Peak Usage in Call Stack Tree HOT 1
- how can I pass the argmuments using graphics interface? HOT 1
- Missing MTuner inject binaries HOT 6
- Symbol Paths Not Respected?
- Incorrect Compiler Identification HOT 4
- symsrv.dll missing HOT 1
- Failing to load PDB from Symbol Server HOT 3
- Where does it expect pdb to be? HOT 6
- about addToStackTraceTree code HOT 1
- How to run mtuner for android application? HOT 1
- sdk with android has some problem HOT 1
- [Feature request] Rust symbol demangling HOT 3
- Not loading msvc pdb's HOT 3
- Profiling Edge Browser
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtuner.