After duplication the project Mod5270FactoryDemo according to http://www.netburner.com/downloads/nndk ... tarted.pdf, the application stops only near the end of OSTaskIdle() at ucos.c - instead of my breakpoints. The application itself works Ok.
The console window shows:
Source directories searched: $cdir;$cwd
Current language: auto; currently c++
mi_cmd_disassemble: Invalid filename.
What I need to fix to use debugger with Mod5270FactoryDemo?
What I need to fix to use debugger with Mod5270FactoryDemo?
Yevgeni Tunik
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Re: What I need to fix to use debugger with Mod5270FactoryDemo?
The issue of non-stop on breakpoint is fixed by adding C:\Nburn\MOD5270\system to the includes according to the link in the console window.
It will nice to have this include added automatically when debug configuration is built.
The fix is implemented with NDDK Rel22_rc2.
By the way: to enable breakpoints at assembler source files, -gdwarf-2 need to be added to the assembler command line.
It will nice to have this include added automatically when debug configuration is built.
The fix is implemented with NDDK Rel22_rc2.
By the way: to enable breakpoints at assembler source files, -gdwarf-2 need to be added to the assembler command line.
Yevgeni Tunik
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Re: What I need to fix to use debugger with Mod5270FactoryDe
I'm seeing the same issue with the debugger ignoring my breakpoint and instead stopping at OSTaskIdle() in the ucos.c file. This is with a PK70 app running NNDK 2.6.1 in Windows 7 x64.
I also have a virutal machine running Windows XP x32 with NNDK 2.6.1 and the exact same application. Debug works fine on this machine.
I also have a virutal machine running Windows XP x32 with NNDK 2.6.1 and the exact same application. Debug works fine on this machine.
Re: What I need to fix to use debugger with Mod5270FactoryDe
Yevgeni - you can edit the PROPERTIES file under the nburn\MOD5270 directory to manually add an include path for any new project you create. I tried adding the path you indicated to my test debug project but it didn't help me. I still need to add an OSTimeDly(x) if I want to hit a breakpoint right after the InitializeNetworkGDB_and_Wait() call (it never actually waits on that call either).
@mx270a that's very interesting that it works under XP but not Windows 7 x64, I hope NetBurner is listening, that might be a clue to get the debugger working better. I too use Win7x64 as my standard development platform.
@mx270a that's very interesting that it works under XP but not Windows 7 x64, I hope NetBurner is listening, that might be a clue to get the debugger working better. I too use Win7x64 as my standard development platform.