MClement Posted July 8, 2014 Share Posted July 8, 2014 We were trying to use the IDE debugging to step through a PLC and either we are not doing it correctly (quite possible) or it just plain doesn't work at all. We have firmware v1.6.30 and the IDE is version 1.6.109 (we have not updated to the firmware/ide that came out yesterday) We build and download everything and then right click on the plc and select "debug selected plc" and it opens the debugger. We put breakpoints and it never hits any breakpoints. We use VS2013 for C# so we know how it's SUPPOSED to work and it just doesn't seem to work. Anyone else able to debug PLCs? Does debugging work for C programs with the IDE (don't want to resort to GDB on Linux). Link to comment Share on other sites More sharing options...
bradp Posted July 9, 2014 Share Posted July 9, 2014 You have to have the PLC called by a name and not a number. For example open plc myplc1 // will allow the debugger to work open plc 1 // the debugger can not work. Link to comment Share on other sites More sharing options...
MClement Posted July 9, 2014 Author Share Posted July 9, 2014 Brad Thanks I will try that. I missed that in the manual ;-) Link to comment Share on other sites More sharing options...
MClement Posted July 10, 2014 Author Share Posted July 10, 2014 does this name come from a define that equals a number ie #define myplc1 1 or does the name have to be the same as the actual plc filename in the project? We are still having some difficulty getting it to work......any help would be appreciated. Link to comment Share on other sites More sharing options...
bradp Posted July 10, 2014 Share Posted July 10, 2014 The name should not matter, it is just a name Link to comment Share on other sites More sharing options...
Recommended Posts