cortex-debug icon indicating copy to clipboard operation
cortex-debug copied to clipboard

Adds possibility to change internal gdb server port

Open KGU-SRE opened this issue 1 year ago • 3 comments

this is useful when local machine is configured to use 50000- 52000 port range for other things

KGU-SRE avatar Feb 27 '24 14:02 KGU-SRE

Moved PR to separate branch

KGU-SRE avatar Feb 27 '24 14:02 KGU-SRE

Hi, this fixed port issue is currently breaking using the internal "pe" GDB server on our machines. The current workaround is to either launch the PEMicro GDB server externally (default port 7224) or to downgrade to cortex-debug v1.4.4. Both of which come with some drawbacks.

@haneefdm @Marus how could we fast-track this fix so all of the team can simply use the plugin without modifications?

KGU-SRE avatar Mar 07 '24 09:03 KGU-SRE

Just wanted to say this would be a welcome change. Currently running into port conflicts with no easy way to resolve them

cpath-star avatar Mar 26 '24 22:03 cpath-star

First of all, there should be no port conflicts ... as we are searching for open ports. All 2000 ports were taken? We want to fix the root cause. I don't see an issue submitted for this.

haneefdm avatar Jun 16 '24 20:06 haneefdm

Even if there is a port conflict, the would be the wrong fix The ports are not just for GDB but also for gdb-servers and internal use. I am rejecting this PR.

haneefdm avatar Jun 17 '24 11:06 haneefdm

@haneefdm how would you propose to fix the issue with a system where the port range for GDB servers is blocked/used for other purposes?

KGU-SRE avatar Jun 18 '24 08:06 KGU-SRE