Debugging in Netbeans

I’ve downloaded the source code, VASSAL-3.2.17-src, from SourceFourge, and successfully ran it in the NetBeans IDE. I used the PanzerBlitz/Panzer Leader module, Pzb-Pzl36p08.vmod. I’m trying to run the NetBeans degugger on the Vassal source but am having difficulty. I have a lot of experience with running java programs in NetBeans and its Debugger, but am by no means an expert. Does anyone have any experience running Vassal in NetBeans? If so, I can go into more detail on what my problem is. Thanks in advance.
JL

Hi JL,

When debugging, you need to run the Editor or Player directly, not the Manager. I usually just run the Editor. e.g.

Main Class: VASSAL.launch.Editor
Command Line Arguments: --edit “D:\Vassal\Modules\D-Day\TGD_v187.vmod” --standalone

The --standalone tells the Editor it is running under a debugger and there is no Module Manager to talk to.

The Player is much the same, but I think you replace --edit with --load.

Regards,
Brent.

Brent,
That’s exactly what I needed to know. Thanks. As soon as the Player appeared nothing I did in the IDE was having any effect.
JL (Thanks for the super fast response, also)