Discussion:
Debugging with NetBeans 6.01
bryno
2012-01-14 19:00:10 UTC
Permalink
Hallo everybody,
I am building Robots in NetBeans and would like to debug them in NetBeans as
well.
I have found this tread http://old.nabble.com/Using-NetBeans-td28809713.html
in which Flamming Larsen explains
how to debug robots in NetBeans IDE. The only problem is that NetBeans won't
let me customize project Run properties
without declaring 'main' class to be used. When I try to set property 'Main
Class' to Robot, just like in the example
given by Flamming, the IDE still complains that the class 'main' can not be
found.
Since I do not use the class 'main' in my code, I can not invoke the
debugger to work properly.
Would somebody please explain to me what is the easiest way to solve this
problem?
Thanks in advance.

Hallo again!
My problem is solved by adding all .jar files from c:\robocode\libs to my
NetBeans project library.
I have found the solution on:
http://cs.gmu.edu/~dfleck/classes/cs211/fall07/projects/robobattle/RoboBattleProject.html.
Cheers!
--
View this message in context: http://old.nabble.com/Debugging-with-NetBeans-6.01-tp33136572p33136572.html
Sent from the Robocode mailing list archive at Nabble.com.



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
Robocode-***@yahoogroups.com
Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
flemmingnlarsen
2012-01-14 23:38:19 UTC
Permalink
Thanks for sharing this information. :-)

On RoboWiki there is an article about how to set up Netbeans for running Robocode:

http://robowiki.net/wiki/Robocode/NetBeans/Configure

If something is missing, this can be mentioned on the "discussion" pane for the article. :-)

Cheers,
- Flemming
Post by bryno
Hallo everybody,
I am building Robots in NetBeans and would like to debug them in NetBeans as
well.
I have found this tread http://old.nabble.com/Using-NetBeans-td28809713.html
in which Flamming Larsen explains
how to debug robots in NetBeans IDE. The only problem is that NetBeans won't
let me customize project Run properties
without declaring 'main' class to be used. When I try to set property 'Main
Class' to Robot, just like in the example
given by Flamming, the IDE still complains that the class 'main' can not be
found.
Since I do not use the class 'main' in my code, I can not invoke the
debugger to work properly.
Would somebody please explain to me what is the easiest way to solve this
problem?
Thanks in advance.
Hallo again!
My problem is solved by adding all .jar files from c:\robocode\libs to my
NetBeans project library.
http://cs.gmu.edu/~dfleck/classes/cs211/fall07/projects/robobattle/RoboBattleProject.html.
Cheers!
--
View this message in context: http://old.nabble.com/Debugging-with-NetBeans-6.01-tp33136572p33136572.html
Sent from the Robocode mailing list archive at Nabble.com.
------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
Robocode-***@yahoogroups.com
Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

Continue reading on narkive:
Loading...