User forums > Embedded development

Can't run debugger

<< < (3/9) > >>

scarphin:
The compiler setting I use is 'GNU AVR GCC Compiler' and the compiler itself is 'WinAVR'. It's installed under 'C:\GNU\WinAVR'. The executables are in the 'C:\GNU\WinAVR\bin' directory. The 'gdb' used is 'avr-gdb' with correct path in the 'toolchain executables' under the 'compiler and debugger' settings. 'Compilers installation directory' is also correct. I attached the test project I use with the whole folder included. It's located under 'D:\Electronics\Projects\' on my computer. Will it help if I export my configuration and post it here also? Thnx very much for the help...


[attachment deleted by admin]

oBFusCATed:
You've missed the simple part :)
Can you debug simple hello world console application, using mingw?

scarphin:
I didn't know they are related, do I have to have mingw installed for debugging an embedded AVR project? I also tried to debug the basic 'helloworld' with mingw same result with no trace of anything in the 'Debugger (debug)' tab although it compiles and runs perfectly. I have checked the executables paths as always and they are correct as always. What may be the problem?

oBFusCATed:
They are not related, but I don't have an embedded compiler nor do I want to install one.
The case with simple console application is the most tested one and if it doesn't work you've a problem with your setup.

Can you try the debugger's branch nightly?
Also have you tried to select (click + drag) in the white window of the debugger's debug log? As I've stated there is some problem with this window on windows and it is not refreshed, but the text is there.

scarphin:
I used "CB_20100904_rev6570_DEBUGGER_BRANCH_win32" to test everything again. At first it complained about the 'libexpat.dll' which v10.05 never did. After I installed expat with mingw-get, I am now able to debug mingw console applications in both the rev6570 and v10.05. But regarding the 'AVR GCC Compiler' the same problem continues exactly the same in both rev6570 and v10.05. The 'Debugger (debug)' tab is definitely empty and nothing gets executed.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version