Wish Specify debugger port

AHilton

Active Member
Licensed User
Longtime User
When developing two B4J applications at the same time (for instance: a client and server), the debuggers try to use the same ports. I assume. If you run the first app in debug mode; then try to run the second app in debug mode as well, it fails with a log message of

Waiting for debugger to connect...
shell switching to alternate port: 9054
shell switching to alternate port: 9055

Trying to run it again gives a messagebox saying that it failed to connect.

Trying a third time succeeds.

I would like for the debugger to switch ports or whatever it needs to do to do this itself automatically. Alternatively, to be able to specify, in the IDE project what ports (or, again, whatever) the debugger needs to run on.

Having to try to debug run the second app 3 times each time a change is made to the first one takes a lot of time.
 

MarkusR

Well-Known Member
Licensed User
Longtime User
it is not possible to make it run anyway with a message log "only one debugger instance is supported"?
at phone i saw also that a app not start if the pc was switched off.
its not vital but i like to have the possibility to start each app from ide in debug mode.
alternative we can start ides from different pc's (related to debug all)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…