Forum : ARM
Original Post
Post Information | Post |
---|---|
February 4, 2011 - 12:40pm
|
I have trouble single stepping through my code (no optimization). And I have trouble using breakpoints. When I downgraded back to RKit-ARM 1.26.10.0130 the single stepping and the break points works. |
Hi Sima,
Instead of going back in time with 1.26, can you try to download the latest 1.30.10.0356 from http://www.mcu-raisonance.com/mcu_downloads.html?
In the latest build (1.30) there are some known problems about local variables being incorrectly tracked in the watch window, but it should not show any single stepping or breakpoint problem.
Let us know if this fixes the problem.
Best Regards,
1.30.10.0356 is the version I hade the trouble with. This was tested on a clean installation of windows 7.
I have also had some problems with single stepping and breakpoints in 1.30 that I did not have in 1.26. I have noticed that the source code and machine code relationships are sometimes incorrect and that lines that should have generated code cannot be used for source code breakpoints because the system apparently does not have a correct link to the associated machine code.
Hi,
There have been some major changes in the C compiler optimization with 1.30.10.0356. For his reason, breakpoints and even single stepping sometimes looks weird when the optimizations are active.
See http://forum.raisonance.com/viewtopic.php?id=2694 for details about this.
In case you see strange behavior in Ride7 while debugging a project with optimizations disabled, then it is a problem.
In such a case, please send us a zipped copy of your project and detailed instructions that may help us reproduce the problem you are facing.
As of now, the only known problem with 1.30.10.0356 is about the local variables that may have an invalid watch/evaluate.
Best Regards,
Hi,
fastmapper, what you describe looks very much like a problem introduced with the new version of gcc in the latest version of the RKit-ARM, which uses some elf constructs that the previous versions did not use and that Ride was not interpreting correctly. We found and corrected this a short time after the latest release, but we didn't release it because we thought it was happenning only very rarely... But maybe we got that wrong. ;)
Here is a test patch that solves it:
ftp://www.raisonance.com/temp/arm/test_patch_110207_ARM_1_30_HLL_ana.zip
It is not fully validated yet, so please tell us here the results of your tests, positive or negative. If the patch does not solve the problem, please send us (support@raisonance.com) a test project that shows your specific problem.
sima, your problem might be the same one or another one. Your description is too vague to be sure.
Please give a try at the patch above and if the problem persists, send us a test project that shows your problem.
Best Regards,
Vincent
Vincent
Thank you very much for providing a patch. I have tried it and it definitely addresses the issues I was seeing. I'll let you know if I see any similar problems while running with the patch.
... and thanks for the great customer service.
Vincent
I can also confirm that this patch is REQUIRED in order to perform any debugging. Without this patch, I was unable to set breakpoints in the editor on lines which should have breakpoints possible, breakpoints which were set did not get triggered, and in files with code longer than about 1000 lines, breakpoint setting capabilities disappear!
I believe that this patch (as an update) is necessary, otherwise debugging and breakpoints are unavailable. I don't believe this to be a rare occurrence, as it's happened to me as well - demonstrable in a number of source files.
Regards,
Robert.
Hi,
We are in the process of validating the RKit-ARM as well as a new release of Ride7.
We will have a software release early March, with this problem fixed.
I hope the patch is an acceptable solution to you.
Best Regards,