Extension debugging error
Extension debugging error
Hi,
When i try to attach NetBeans for extension debugging i get this error :
15:05:46,916 INFO [main] v2.SmartFoxServer - SmartFoxServer 2X (2.0.0-RC1b)
READY!
15:05:59,169 INFO [SocketReader] core.SocketAcceptor - Session created: { I
d: 1, Type: DEFAULT, Logged: No, IP: 127.0.0.1:52850 } on Server port: 9933 <---
> 52850
15:05:59,175 INFO [SocketReader] sessions.DefaultSessionManager - Session r
emoved: { Id: 1, Type: DEFAULT, Logged: No, IP: 127.0.0.1:52850 }
15:05:59,187 WARN [SocketReader] binary.BinaryIoHandler - Incoming request
size too large: 1146572845, Current limit: 8000000, From: { Id: 1, Type: DEFAULT
, Logged: No, IP: 127.0.0.1:52850 }
I added the debug string from the docs to the server shortcut.
Can someone tell me whats going wrong or what setting i need to change ?
Thanks.
When i try to attach NetBeans for extension debugging i get this error :
15:05:46,916 INFO [main] v2.SmartFoxServer - SmartFoxServer 2X (2.0.0-RC1b)
READY!
15:05:59,169 INFO [SocketReader] core.SocketAcceptor - Session created: { I
d: 1, Type: DEFAULT, Logged: No, IP: 127.0.0.1:52850 } on Server port: 9933 <---
> 52850
15:05:59,175 INFO [SocketReader] sessions.DefaultSessionManager - Session r
emoved: { Id: 1, Type: DEFAULT, Logged: No, IP: 127.0.0.1:52850 }
15:05:59,187 WARN [SocketReader] binary.BinaryIoHandler - Incoming request
size too large: 1146572845, Current limit: 8000000, From: { Id: 1, Type: DEFAULT
, Logged: No, IP: 127.0.0.1:52850 }
I added the debug string from the docs to the server shortcut.
Can someone tell me whats going wrong or what setting i need to change ?
Thanks.
ok, found out i need to connect to 8787 but then i get a connection refused :
Attaching to localhost:8787
Connection refused.
this is my debug.bat :
@java -cp "./;lib/*;lib/Jetty/*;extensions/__lib__/*" -Dfile.encoding=UTF-8 com.smartfoxserver.v2.Main $1 $2 $3 -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
Attaching to localhost:8787
Connection refused.
this is my debug.bat :
@java -cp "./;lib/*;lib/Jetty/*;extensions/__lib__/*" -Dfile.encoding=UTF-8 com.smartfoxserver.v2.Main $1 $2 $3 -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
-
iceshaft07
- Posts: 33
- Joined: 28 Jan 2011, 20:10
I kinda forgot to mention it earlier (sorry), but move the debug options in your batch file to before the -cp option.
Don't ask me why.
Code: Select all
java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -cp ....