Search found 608 matches

by SeeCwriter
Mon Oct 20, 2014 9:05 am
Forum: NetBurner Software
Topic: Debug Build failure
Replies: 31
Views: 17847

Re: Debug Build failure

A new development. After the debugger crashed as I explained in my previous post, the dev kit board has dropped off the network. I can't ping it. Eclipse can't find it. IPSetup can't find it. I've power-cycled the board, closed and restarted Eclispe, and nothing. And the link light is blinking away ...
by SeeCwriter
Mon Oct 20, 2014 8:42 am
Forum: NetBurner Software
Topic: Debug Build failure
Replies: 31
Views: 17847

Re: Debug Build failure

Rebuilding the system directories from the commandline and doing "make debug" followed by "make" solved the linker error I was getting. The SPISerial example program now compiles and runs for both the Release and Debug builds. However, I am still unable to single-step in the Debu...
by SeeCwriter
Fri Oct 17, 2014 2:32 pm
Forum: NetBurner Software
Topic: Debug Build failure
Replies: 31
Views: 17847

Re: Debug Build failure

Yes, as I stated in my previous post. Removing it makes no difference.

Steve
by SeeCwriter
Fri Oct 17, 2014 2:13 pm
Forum: NetBurner Software
Topic: Debug Build failure
Replies: 31
Views: 17847

Re: Debug Build failure

I should have also added that, in my latest version of the example program SPISerial, I have commented out all code, including #define _DEBUG, and the #ifdef _DEBUG that wrapped InitializeNetworkGDB(). Made no difference. Or rather, it made it worse. With code in place the program would compile, lin...
by SeeCwriter
Fri Oct 17, 2014 2:05 pm
Forum: NetBurner Software
Topic: Debug Build failure
Replies: 31
Views: 17847

Re: Debug Build failure

Well, now that you mention it, no example "says" to add #define _DEBUG. They just show wrapping calls to debug functions like InitializeNetworkGDB() in #ifdef _DEBUG. And it seemed to me one would be needed. Is that a problem? Even if I duplicated an already defined parameter, it's still d...
by SeeCwriter
Fri Oct 17, 2014 7:38 am
Forum: NetBurner Software
Topic: Debug Build failure
Replies: 31
Views: 17847

Re: Debug Build failure

Adding a delay didn't solve the linker error. These are the include files in the program: #include "predef.h" #include <stdio.h> #include <ctype.h> #include <string.h> #include <startnet.h> #include <autoupdate.h> #include <dhcpclient.h> #include <taskmon.h> #include <smarttrap.h> #include...
by SeeCwriter
Thu Oct 16, 2014 5:21 pm
Forum: NetBurner Software
Topic: Debug Build failure
Replies: 31
Views: 17847

Re: Debug Build failure

I have the include. I don't think the program would compile if the include were missing. The error is with the linker not being able to resolve the function. I will add the delay tomorrow when I get to work. But that won't help the linker error.

Thanks,
Steve
by SeeCwriter
Thu Oct 16, 2014 4:12 pm
Forum: NetBurner Software
Topic: Debug Build failure
Replies: 31
Views: 17847

Re: Debug Build failure

I found this particular problem. Apparently there is yet another place to enter an IP Address for the device, in the Debugger tab of the Debug Configuration screen. I guess you can never have too many places to enter an IP address. With that corrected, I can now single-step through the LedBinaryCoun...
by SeeCwriter
Thu Oct 16, 2014 3:36 pm
Forum: NetBurner Software
Topic: Debug Build failure
Replies: 31
Views: 17847

Re: Debug Build failure

Ok, so I switched to the ledBinaryCounter.cpp example project. It's in one of the manuals, and I copied it out word-for-word. Did a Release build and downloaded it to my Nano dev kit. Works like a champ. I then added the debug code, which consists of 2-lines of code, #include <NetworkDebug.h>, and a...
by SeeCwriter
Tue Oct 14, 2014 9:46 am
Forum: NetBurner Software
Topic: Debug Build failure
Replies: 31
Views: 17847

Re: Debug Build failure

Today I rolled back to IDE v2.6.7, and now the Release build of the example program runs. It doesn't run with v2.6.8. I then tried a Debug build. I still can't single step. But interestingly, when I click Step-Over, the thread of Main changes status to Stepping, but the application is actually runni...