Strange highlighting
See original GitHub issueI just noticed this strange highlighting behaviour while providing this sample code on reddit:
#include <memory>
#include <future>
int main() {
using namespace std;
auto foo = make_unique<int>(42);
auto inc1 = async(launch::async, [foo = move(foo)] { (*foo)++; });
// ...
auto inc2 = async(launch::async, [foo = move(foo)] { (*foo)++; });
}
I was checking how gdb would behave on segfault. The c++ sample was compiled with g++ -g3 -O0 -std=c++14 -Wall -Wextra -pedantic -lpthread sample.cpp -o sample
.
Running gdb ./sample
+ >>> r
gives:
Notice how mov DWORD PTR [rax],edx
is not correctly highlighted.
My custom gdb-dashboard initialization is:
set disassembly-flavor intel
dashboard -style syntax_highlighting "algol_nu"
define hookpost-up
dashboard
end
define hookpost-down
dashboard
end
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Small but strange syntax highlighting bug (or feature)? #90279
VSCode Version: VSCode Insiders 1.43.0. OS Version: Ubuntu 16.04 When you open a file, the syntax highlighting is okay: After a few seconds, ......
Read more >Unity Tilemaps, Single Tile Collision detection for highlighting ...
Unity Tilemaps, Single Tile Collision detection for highlighting Tiles/Cells, strange behaviour · Careful: Afaik the Tilemap. · And yes make sure ...
Read more >How to stop strange "highlighting" behavior when selecting ...
I have a strange situation with one user. When she selects text in a Word document the standard blue selection highlight shows up...
Read more >Solved: Strange Filter and Highlighting Interaction
Strange Filter and Highlighting Interaction ... when I highlight the data on the graph by selecting the name in the Legend, the Multi-Row ......
Read more >Strange Highlighting in overleaf - TeX - LaTeX Stack Exchange
Sometimes it signifies open brackets, but most of the time it does not. I have been using overleaf for years and this issue...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Reported at https://bitbucket.org/birkenfeld/pygments-main/issues/1326/intel-flavor-assembly-asm-highlighting.
Finally fixed, the problem was in how the lexer was chosen. (See the Pygments issue.)