User forums > Embedded development

Can't run debugger

<< < (6/9) > >>

oBFusCATed:
The bug happens when you change from console to native?
This options should not change your build options (at least on linux it doesn't), it just tell's C::B to launch a console for you when you debug/run your project.

scarphin:

--- Quote from: oBFusCATed on September 15, 2010, 01:18:56 pm ---The bug happens when you change from console to native?

--- End quote ---

Yes, definitely!!! I even confirmed this on another Vista box for the 4th time. I installed cb 10.05 and winavr with everything default. And when I change the type to 'native', avr-gdb doesn't run nor anything visible happens and my guess is the debugger plugin hangs. After restarting cb and if the type is set to 'Console application', avr-gdb and logging works without a problem.

Below is the linker commands which I copied from 'Advanced compiler options' for 'AVR GCC Compiler' in the order 'link executable', 'link console executable' and 'link native executable'. Last 2 is the same but that's not the case for MinGW.

$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs -mwindows
$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs
$linker $libdirs -o $exe_output $link_objects $link_resobjects $link_options $libs

Do I get any advantage by setting the type to 'native' for embedded applications as doing so doesn't launch the debugger? I think that's a bug to be confirmed. Thnx...

oBFusCATed:
Don't know if it is a bug, I'm not an embedded developer.

If you try the same steps with the mingw, do you get the same behavior? If you do, then this is a bug :)

scarphin:
If I set the type to 'Native' for MinGW, the debugger won't start and there is nothing on the 'Debugger (debug)' tab as I mentioned before. So this must be a bug. Am I allowed to fill in a bug report for this?

Edit: I also wonder if this is the case for linux version or not! If not then this is related to windows versions with Vista and XP confirmed.

oBFusCATed:
First try the latest normal nightly and then the debuggers branch nightly...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version