Provided highlighting crashed threads. Check out related diff - D786.
Details
Details
Tested with simple multi-threaded C++ aplication - works as expected. Here's the code: http://pastebin.com/HxSuVAWB
Diff Detail
Diff Detail
- Repository
- R33 KDevPlatform
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage
debugger/framestack/framestackmodel.h | ||
---|---|---|
103 | Actually, I'd just make this a bool member of the ThreadItem, which will also simplify the model code where you output the color then. I.e. something like bool crashed; after the int nr;, there's 4 byte of padding there anyways, so why not use it? |
debugger/framestack/framestackmodel.h | ||
---|---|---|
103 | As we've discovered with kfunk, this would be impossilble/difficult(?). He mentioned that model is "lazy-loaded" and I can't use something like "m_threads[index].crashed = . . ." in my changed methods. So, are we okay with current solution? |
Comment Actions
ah ok, I wasn't aware of this. Then it's OK to get this in, imo.
debugger/framestack/framestackmodel.cpp | ||
---|---|---|
151 | style: remove space after between ( thread.nr. |