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

Only show server ports in Debug Service tooltip #2102

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

sebjulliand
Copy link
Collaborator

Changes

In its current state, the Debug Service item tooltip in the IBM i Debugger view shows too many ports:
toomany

The ports besides 8001 and 8005 are those used by the Service when it connects to the local TCP servers; they only appear once the Debug Service has been used at least once to debug a program:
image

This PR fixes the query used to fetch the Service ports to only get the server ports.
Code_Z7F1bRUJgk

How to test this PR

  1. Connect to an IBM i where the Debug Service runs and has been used at least once
  2. Go to the IBM i Debugger view
  3. Hover over the Debug Service item
  4. Only two ports must be shown at the top of the tooltip

Checklist

  • have tested my change

Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
@sebjulliand sebjulliand added the bug A confirmed issue when something isn't working as intended label Jun 7, 2024
@sebjulliand sebjulliand added this to the 2.11.0 milestone Jun 7, 2024
@sebjulliand sebjulliand self-assigned this Jun 7, 2024
@worksofliam worksofliam modified the milestones: 2.11.0, 2.12.0 Jun 17, 2024
@worksofliam
Copy link
Contributor

@sebjulliand Shall we merge?

@worksofliam worksofliam added the ready Ready for review label Jun 18, 2024
@sebjulliand sebjulliand merged commit d35c111 into master Jun 18, 2024
1 check passed
@sebjulliand sebjulliand deleted the fix/debugServicePortTooltip branch June 18, 2024 16:24
@sebjulliand
Copy link
Collaborator Author

@worksofliam oof, I forgot about it 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A confirmed issue when something isn't working as intended ready Ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants