-
Notifications
You must be signed in to change notification settings - Fork 59
Add coloring to the stack frames of the debug thread view #81
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
base: master
Are you sure you want to change the base?
Conversation
7a91818 to
077e37a
Compare
|
I've improved the patch, after the second commit, not only the stack frames will be color coded, but now, the frames from the library/frameworks can be hidden - so in effect, only frames coming from source code written by the user - will be visible, making the debug experience much more focused on the potentially more interesting parts of the stack. |
|
Few impressions without looking into the code. Bad: I see some issues with the preference page
Also by default, because of changed text color most of the stack is unreadable (loss of contrast, instead of black on white we have to read green on white etc). This is for me (and probably others working hours with IDE) a big issue, I have troubles to see the stack without looking closer to display. Problematic concept
Good:
So I personally would appreciate if by default we only change icons used for different frame types, but not the foreground/background colors. |
|
Note: the "collapsed" thing would also need to be switched off while doing "Copy stack" operation (which is unfortunately uses the tree from UI and not the actual stack behind), otherwise this will be broken. For the "collapsing/uncollapsing" - would it make sense to put "hidden" part into a (collapsed) subtree? Regarding the colors: looking on screenshots above I see my concerns only confirmed. I understand the purpose of the patch, but that heavily affects readability of the stack. All the "fuzzy" colors make stack not readable for me, the contrast is simply gone. I work every day with stack traces, not being easily read them is a big issue for me. The possibility to change colors is OK, but defaults should be either "black on white" (== no customization) or in color pairs that ensure good contrast. Also note, that this should consider "themes" (Light/Dark/whatever). Might be we simply disable coloring by default an let users adopt that to they needs. Icons alone are "good enough" for me as it shown in first screenshot. Note: if we allow to hide/color by some patterns, the preferences that do that should also consider product preferences set via product customization (means, not simply get instance scope but use preferences service with all scopes). |
d304d31 to
543e52c
Compare
543e52c to
dcbc7c2
Compare
dcbc7c2 to
81c36cc
Compare
81c36cc to
6eab4cd
Compare
0dcf953 to
02924d9
Compare
02924d9 to
bf6de43
Compare
bf6de43 to
c650189
Compare
99c0d15 to
06b6655
Compare
e25f24c to
6271d62
Compare
6271d62 to
31da87f
Compare
31da87f to
a97e27e
Compare
a97e27e to
8d71a9a
Compare
8d71a9a to
47c4196
Compare
47c4196 to
d7d763a
Compare
d7d763a to
bc42164
Compare
|
What is the status of this one? I find the amount of changes overwhelming for me to review. If we can get smaller standalone chunks to review it would be easier to make progress. |
7334cf6 to
bc28887
Compare
|
This pull request changes some projects for the first time in this development cycle. An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch. Git patchFurther information are available in Common Build Issues - Missing version increments. |
|
Please get this PR finished or mark as Draft or close. |
bab3def to
42c07aa
Compare
42c07aa to
e1eb85e
Compare
e1eb85e to
a8431df
Compare
a8431df to
857e5b9
Compare
f9c4461 to
f695037
Compare
db51a57 to
d6c39da
Compare
and add an action to enable/disable colorization from the context menu. All of the categorize can be switched on or off Add a couple of tests for stack frame grouping.
d6c39da to
995e0a5
Compare
SougandhS
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The highlight stackframe is not working properly and if it is highlighted how can a user disable it ?
My.Movie.mp4
|
@gzsombor : could we separate this PR in two:
I fear that the time we have till M3 is not enough for the 2) but it should be possible to have 1) merged in. |
|
It's unclear for me, why the build failed for #801 , the reported new 80+ warning is not related to my change |
It's because of compiler changed meanwhile, see eclipse-jdt/eclipse.jdt.core#4572 and especially eclipse-jdt/eclipse.jdt.core#4569. I will try to change baseline, I believe it should be possible somehow. |
I see, thanks, makes sense! Is there any reason not to remove those long deprecated classes? IMHO they are not used outside of some tests, but that's probably would trigger some other, API-incompatibility warning.... |
I haven't looked into details, it is just matter of time and resources. If there is API, one has to annotate it "for deleting" and after two or three releases it can be removed. Non API can be immediately removed, assumed it was deprecated long time ago. |






What it does
Add coloring to the stack frames of the debug thread view and add an action to enable/disable colorization from the context menu.
All of the categorize can be switched on or off
Use separate images for different stack frame categories.
How to test
Start debugging an application - notice, that the stack frames in the debug thread view are colorful, so it is much easier to find the user code, the test methods etc...
Author checklist