B4J Question (Solved) "Rapid debugger failed" , check firewall o antivirus,

jose luis gudino

Active Member
Licensed User
Longtime User
hi everyone, i have a problem in b4j when i try to run in debug mode,
I get the following error: "Rapid debugger failed", check firewall or antivirus,

I have already disabled the firewall, I have created the execptions for the ports, the program, I have checked that the ports are not in use by another program, I have reinstalled the application but the problem persists, I enclose the contents of the log

Build modules tree: 0
B4J version: 6.30
.Net version: 4.0.30319.42000
Ini folder: C:\Users\HOME\AppData\Roaming\Anywhere Software\B4J
Build modules tree: 0
Gui: 1000
Build modules tree: 1
*** no reuse ***
Gui: 561
Build modules tree: 4
Build modules tree: 0
*** no reuse ***
Gui: 61
Build modules tree: 0
Compilation task: 74.1912
Gui: 102
Compilation task: 1898.4306

RapidDebugger: Trying to connect to port: 59812, attempts left: 20
Connected!
Connected
RD: getLineNumbers
RD e: java.net.SocketException: Permission denied: connect
RD e: at java.net.DualStackPlainSocketImpl.connect0(Native Method)
RD e: at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:83)
RD e: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
RD e: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
RD e: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
RD e: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
RD e: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
RD e: at java.net.Socket.connect(Socket.java:589)
RD e: at anywheresoftware.b4a.shell.ShellConnector.connect(ShellConnector.java:164)
RD e: at anywheresoftware.b4a.shell.ShellConnector.run(ShellConnector.java:115)
RD e: at java.lang.Thread.run(Thread.java:745)
RD e: java.lang.RuntimeException: Error connecting to device.
RD e: at anywheresoftware.b4a.shell.ShellConnector.connect(ShellConnector.java:173)
RD e: at anywheresoftware.b4a.shell.ShellConnector.run(ShellConnector.java:115)
RD e: at java.lang.Thread.run(Thread.java:745)
RD: ShellConnector retry (9994ms left)
 

jose luis gudino

Active Member
Licensed User
Longtime User
Hi, if I have been working with the application for about 2 years, for the moment what I did was install it on another machine, because by reviewing in the forum, I have seen that this error has not been easy to detect
 
Upvote 0

jose luis gudino

Active Member
Licensed User
Longtime User
I just tried something, I get the impression that it is a general block that the java suffers, because I try to run a program in "release" mode and it works, but if I try to execute some program in "release" mode that has connection to a database does not connect to the database
 
Upvote 0

jose luis gudino

Active Member
Licensed User
Longtime User
Hi, today in the morning without making any change in the PC the problem was solved, started working in debug mode perfectly, extremely strange.
Thanks for the support
 
Upvote 0
Top