Comments (8)
@GitMensch wrote:
At least with the new approach-the problem persists.
I can now reproduce: disassembly shown, then showing a different disassembly - the code pane was adjusted to show other code, but the code lines shown mismatches the cycles and the disassembly.
If I restart hotspot and show the disassembly of that other function "directly" then there's a perfect match.I suggest to reopen the originating issue....
from hotspot.
how do you trigger this? can you give more detailed information please?
from hotspot.
just retested with today's appimage
- open disassembly of a bigger function in source1
- open disassembly of a function in source2
result: you mostly see the source of source1, instead of source2, but the title is set to and the syntax language is used according to source2 and the number of lines is limited to the lines of the function in source2
from hotspot.
Just to make sure, you are using the correct version of your executable? Disassembler works with addresses not and dwarf information. In theory a compiler can generate two different binaries for the same source code. Depending if he reorders the binary or not (used in obfuscated code to make leaked debug infos unusable).
I sometimes encounter a similar problem after a compiler change / update.
from hotspot.
Sometimes the binaries are out of date, often just recompiled. If there are differences then the counters are off by some lines (or plain wrong when the code around it changed).
But this is about totally showing the wrong source, and this is "new" and happens since the last big Disassembly overhaul.
from hotspot.
also: for the situation you describe @lievenhey we should ideally catch it and noisily show a warning to the user. we can detect it by comparing buildids.
from hotspot.
I guess you cannot reproduce that with the appimage?
Is that related to QT_QPA_PLATFORM
as in #339?
Do we need something like an explicit update call to also change the content of the lines?
from hotspot.
Ah, found it (actually @milianw but in another context). In HighlightedText::setText
the QVector
is reset correctly. This causes the weird behaviour you are seeing.
from hotspot.
Related Issues (20)
- Summary Tab: Top Hotspots per File should not have "filter out/in by symbol"
- perfparser: add elfutlis version info to `--version` (and its debug symbols in the debuginfo appimage package) HOT 1
- Disassembly view: Disassembly broken after 201 HOT 1
- appimage: also package QT debuginfo (or make it otherwise available)
- Fails to build with kddockwidgets-2.0.0: error: no viable conversion from 'const QVector<KDDockWidgets::Core::DockWidget *>' to 'const QVector<KDDockWidgets::DockWidgetBase *>' HOT 1
- [com.kdab.kddockwidgets] [error] Couldn't find dock widget frequency
- Too fast clicking at stop, cause segfault
- chrash in hotspot in handling perfparser output HOT 7
- copyright year needs an adjustment HOT 4
- hotspot in Arch linux AUR not work for a long time, thanks. HOT 3
- Not active at start profile button and working directory resetting each time
- Disassembly View (Source Code): add setting for tab-width
- Source Code view only C* "highlights" multiline comments on the first line HOT 1
- Attribute inline cost to caller HOT 3
- KURLRequester not using correct folder when opening file picker on Gnome
- source view with strange "Util" context menu HOT 1
- GCC 13.2.0: src/models/highlightedtext.cpp:94:5: error: constructors cannot be declared 'virtual', src/models/highlightedtext.cpp:94:76: error: 'HighlightingImplementation::HighlightingImplementation(KSyntaxHighlighting::Repository*)' cannot be defaulted
- hotspot chrashing on disassembly HOT 1
- Latest AppImage download without GitHub account HOT 2
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 hotspot.