B4J Question How to run two B4J apps with debug?

Diceman

Active Member
Licensed User
I would like to run 2 different B4J apps (v 6.01) at the same time, with Debug turned on for each app.
(I am running jRDC2 server and jRDC2 client so I would like to debug both at the same time on the same machine.)

I start the first app (server) with Debug and it runs fine.

I start the 2nd app (client) and it displays:
Waiting for debugger to connect...
shell switching to alternate port: 9054
shell switching to alternate port: 9055​
but never starts up. (Kill process button remains disabled)

I run the 2nd program again and I usually get a popup window saying it can't connect to debugger.
The 3rd time I run it, it will run correctly and everything is fine.

It finally works on the 3rd attempt:
Waiting for debugger to connect...
shell switching to alternate port: 9054
shell switching to alternate port: 9055
Program started.​

I'm just wondering is there a way I can get the 2nd app the run correctly with the debugger the very first time?
(Of course if I have the debugger turned off, or enabled in only 1 of the apps, it starts just fine.)

TIA
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…