Skip to content
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

[Debug ]Removal of Deprecated Constants #1784

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SougandhS
Copy link
Contributor

@SougandhS SougandhS commented Mar 19, 2025

This commit removes the deprecated constants in VariableColumnPresentation and updates references in DefaultVariableCellModifier and WatchExpressionCellModifier to use the new constants.

Copy link
Contributor

github-actions bot commented Mar 19, 2025

Test Results

 1 598 files  ±0   1 598 suites  ±0   1h 41m 9s ⏱️ + 10m 39s
 4 173 tests ±0   4 150 ✅ ±0   23 💤 ±0  0 ❌ ±0 
11 998 runs  ±0  11 832 ✅ ±0  166 💤 ±0  0 ❌ ±0 

Results for commit 0a79341. ± Comparison against base commit 9e339b2.

♻️ This comment has been updated with latest results.

@SougandhS
Copy link
Contributor Author

Hi @mickaelistria , could you please check this when you have time ?

@SougandhS SougandhS force-pushed the Deprecation_deletion branch from 18d4b04 to ad147ab Compare March 20, 2025 00:55
* @deprecated Replaced by {@link IDebugUIConstants#COLUMN_ID_VARIABLE_NAME}
*/
@Deprecated
public final static String COLUMN_VARIABLE_NAME = IDebugUIConstants.COLUMN_ID_VARIABLE_NAME;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would break CDT, see
https://github.com/eclipse-cdt/cdt/blob/fd56a4ee112974c345bbb67fa939dea178494c00/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/IDebugVMConstants.java#L43

@jonahgraham : FYI.

I believe we first should make sure CDT would remove the reference to this constant. Already shipped CDT versions should be fine, as the constant value should be inlined by compiler.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In progress: eclipse-cdt/cdt#1131

This commit removes the deprecated constants in
VariableColumnPresentation and updates references in
DefaultVariableCellModifier and WatchExpressionCellModifier to use the
new constants.
@SougandhS SougandhS force-pushed the Deprecation_deletion branch from ad147ab to 0a79341 Compare April 9, 2025 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants