-
Notifications
You must be signed in to change notification settings - Fork 128
Removed netstat_job_info calls
#3056
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
Signed-off-by: Seb Julliand <[email protected]>
updateConnectedBar is indirectly called twice already Signed-off-by: Seb Julliand <[email protected]>
Signed-off-by: Seb Julliand <[email protected]>
|
👋 A new build is available for this PR based on 3c7d43c. |
|
@SanjulaGanepola @mkwan01 any chance one of you can test this PR? Neither @sebjulliand or I have a debug service working. It requires a 7.6 vm. |
|
Our 7.6 machine requires an update to the Navigator. I will test the changes after the update. |
@sebjulliand While this is true, I personally like having the stop/start actions in VS Code for convenience. If we do want to still promote users to use iNav instead for this, can we add a VS Code Setting to enable these options (can be disabled by default)? What do you think? Unless there is in fact a difference in how it is started in iNav vs VS Code? |
|
@sebjulliand @SanjulaGanepola I also prefer to keep the start/stop actions, as it is more convenient to do everything inside VS Code, without switching to a Navigator browser. I am OK if this is controlled by a setting and it is disabled by default. |
Signed-off-by: Seb Julliand <[email protected]>
|
@SanjulaGanepola @mkwan01 fair enough, I've put the start/stop actions back. |
netstat_job_info calls and removed Start/Stop action on Debug Servicenetstat_job_info calls
SanjulaGanepola
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.
When testing this out, I noticed that there were constant calls to updateConnectedBar. One issue is that we are doing:
onCodeForIBMiConfigurationChange("connectionSettings", updateConnectedBar)
which means any time the user adds a filter, or really does a lot of the core tasks, we are going to constantly call isDebugEngineRunning which is overkill imo.
Signed-off-by: Seb Julliand <[email protected]>
@SanjulaGanepola yes, totally. We should address that in a separate PR. |
Changes
This PR removes the queries to
netstat_job_infoas it requires*IOSYSCFGspecial authority since 7.6.It was used to retrieve the debug server and service job information.
The queries are replaced by queries to
job_info, using the service and server job names (as they are not supposed to change).Finally, a direc call to
updateConnectedBarhas been removed as it turns out it's already called twice when the user connects (indirect calls).How to test this PR
Checklist