User forums > Embedded development

Debugging MSP430 from within C::B

<< < (4/8) > >>

oBFusCATed:

--- Quote from: pfong on August 24, 2010, 11:18:53 pm ---Are you also asking if the stop button not working depends on it being a remote target?

--- End quote ---
Cannot compute :)
Can you explain what you had in mind with this sentence?

pfong:

--- Quote from: oBFusCATed on August 21, 2010, 11:47:53 am ---Do you know if the problem happens for normal remote debugging (PC <-> PC) ?
I don't have any experience with embedded development and I can test or improve the code.
But if the behaviour is the same when the connection is PC<->PC I can.

--- End quote ---

I installed Code::Blocks on Windows with the bundled MinGW and saw that it includes gdbserver.  So, I replicated the test above (gdbserver and gdb on the same machine) on Windows and the process pausing with the stop button problem occurs.  Code::Blocks says "Trying to pause running process..." and the process doesn't pause.

So, both problems can be replicated using only 1 machine.  You don't need an embedded target just a remote target.

oBFusCATed:
Great, I'll see what I can do to fix them:)

pfong:
It seems the debugger pausing problem has been discussed before. See: http://forums.codeblocks.org/index.php?topic=8577.0

pfong:
Would it be better if I put the information that I find in the bugs or here or both?

I did some more research on the break problem.  It seems that in Windows you can send a SIGINT with the WM_CHAR message (See http://msdn.microsoft.com/en-us/library/ms811896#ucmgch09_topic3).  Unfortunately, the documentation here is not detailed and I have not been able to get this to work.  I made a program that uses SendMessage to send messages indicating Ctrl is pressed and then C but it doesn't seem to do any thing.  I haven't even been able to use it to press keys in Notepad and get characters to appear.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version