[TUTORIAL] Debug Smartfox at runtime

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [TUTORIAL] Debug Smartfox at runtime

Postby Lapo » 11 Apr 2017, 15:23

Would be best if you explained exactly which steps you have done, what IDE you're using and which OS.
Also if you're running a firewall you should make sure it's not getting in the way. (i.e. it must allow traffic on the desired port(s))
Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
magus
Posts: 1
Joined: 28 Apr 2017, 03:25

Re: [TUTORIAL] Debug Smartfox at runtime

Postby magus » 28 Apr 2017, 03:40

I have the same issue with debug...

I'm using inteljet IDEA to debug

My Local OS is Mac 10.12.4
My Remote OS is Ubuntu 16.04 LTS
Smartfox version:2.9.0

I follow below link to do it:

http://smartfoxserver.com/blog/how-to-d ... xtensions/
https://www.youtube.com/watch?v=uY-WXKS9qYA

first, it's occur below message
" Debugger failed to attach: recv failed during handshake"
I restart sfs-service.sh, and never show again,
server console show "Listening for transport dt_socket at address: 8787" at start , then init my extinsion
after that, i try to connect using inteljet IDEA debug, it's show
"Connected to the target VM, address: '127.0.0.1:8787', transport: 'socket'"
look like work, but i can not using break point at anytime,

can someone help?

i will appreciate for your help
Last edited by magus on 10 May 2017, 06:40, edited 1 time in total.
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [TUTORIAL] Debug Smartfox at runtime

Postby Lapo » 28 Apr 2017, 06:59

I am not very familiar with IDEA, but it sounds like a configuration issue.
That or the code is not going through the section that has the breakpoint...

I'd suggest googling it.
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 22 guests