PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Arm Assembler Debugging

Hi,

Does anyone know how to debug arm assembler from within EVC 4. I can build the assembler just fine, but currently I am limited to changing to assembler view and stepping it directly.

Source view would be nice!


Any ideas anyone?

Glen.
Hi,

From the lack of response, I take it

1) No one debugs ARM assembler?

2) No one is having any problems?

A little bit of feedback would be appreciated, if people have tried it and are having the same problem, or are having no problems, then can you let me know.

Cheers

Glen.
If you'll search this forum you will find things like this, which is not a perfect solution, but a step in the right direction.

Dan East
Hi Dan,

Thanks for the feedback :)

I have already seen that thread thanks, but there are no real solutions, just a workaround.

Ideally it would be nice to get source level debugging of the assembler, instead of just the dissasembly view you get using that method.

It's pretty difficult to use that view when you have a large complex piece of assembly to work through.

Glen.
I know your pain. Personally I do printf style debuggin within the assembly function. As well I was in a situation where I was forced to create a register liveliness analysis program, just so I could make sure I wasn't wiping out any values (since I use a lot of register naming, just to make the code readable).

Also has anyone else noticed how WindowsCE doesn't tell you if you have a memory fault (such as writing to a read only piece of memory)?

Exocet
What I do is call a C routine within my Assembly code and then I put a breakpoint inside that routine, then I F10 out of the routine and you can now step through your asm code. Or you can put a break point at the start of your asm code. The byte code is 0xe6000010.

Regards,
kornalius