I can't seem to find any documentation about debugging a fantom script/pod. Are they any tools? can I somehow use gdb?
I've not used GDB but you can debug Fantom code in F4. There's a small section on debugging in my Intro to F4 article.
Yes. Unfortunately, F4 doesn't work on my computer. I reported the bug here: http://support.xored.com/support/tickets/1074
Also, does any one knows how F4 debugs? can I use there method?
I don't really know, but you could look at the F4 Source Code on GitHub for clues.
F4 almost certainly uses the built in debugging facilities of the Java virtual machine. These can be used stand alone using the jdb command.
jdb
I found a Java command line tutorial which seems to describe how that is done (I have not read thought it).
It's also probably possible to attach a visual Java debugger to a running Fantom program somehow, maybe using a common Java IDE.
Login or Signup to reply.
elyashiv Sun 5 Apr 2015
I can't seem to find any documentation about debugging a fantom script/pod. Are they any tools? can I somehow use gdb?
SlimerDude Sun 5 Apr 2015
I've not used GDB but you can debug Fantom code in F4. There's a small section on debugging in my Intro to F4 article.
elyashiv Sun 5 Apr 2015
Yes. Unfortunately, F4 doesn't work on my computer. I reported the bug here: http://support.xored.com/support/tickets/1074
elyashiv Sun 5 Apr 2015
Also, does any one knows how F4 debugs? can I use there method?
SlimerDude Mon 6 Apr 2015
I don't really know, but you could look at the F4 Source Code on GitHub for clues.
Lii Wed 8 Apr 2015
F4 almost certainly uses the built in debugging facilities of the Java virtual machine. These can be used stand alone using the
jdb
command.I found a Java command line tutorial which seems to describe how that is done (I have not read thought it).
It's also probably possible to attach a visual Java debugger to a running Fantom program somehow, maybe using a common Java IDE.