chipKIT® Development Platform

Inspired by Arduino™

Ultra trangeness on windows.

Created Sun, 14 Apr 2013 16:26:25 +0000 by majenko


majenko

Sun, 14 Apr 2013 16:26:25 +0000

I have just noticed something rather strange using MPIDE on Windows.

It seems that Java is running everything twice. Is it me (or my windows machine)?

0    [main] DEBUG processing.app.Base  - DEBUG: Logging enabled.processing.app.Base
0 [main] DEBUG processing.app.Base  - DEBUG: Logging enabled.processing.app.Base
2646 [main] DEBUG processing.app.Base  - Target: initiated: name = arduino folder= arduino
2646 [main] DEBUG processing.app.Base  - Target: initiated: name = arduino folder= arduino
2737 [main] DEBUG processing.app.Base  - Target: initiated: name = pic32 folder= pic32
2737 [main] DEBUG processing.app.Base  - Target: initiated: name = pic32 folder= pic32
2820 [main] DEBUG processing.app.Base  - Target: initiated: name = tools folder= tools
2820 [main] DEBUG processing.app.Base  - Target: initiated: name = tools folder= tools
.....

I noticed that this was happening while doing some simple GUI work, and noticed my buttons were triggering twice.

A bit of extra debugging, and I can see that Base.main() is being run twice.

It's all fine on Linux - Base.main() only gets called once.

At least, that's what it looks like to me - either that or log4j is outputting everything twice, which I guess is a possibility...


majenko

Sun, 14 Apr 2013 16:30:35 +0000

It's amazing how just writing something on a forum sends your thought process off in another direction. Ok, it's log4j outputting everything twice that's making it look like the whole thing is running twice over.

So... what's up with that then?