Forum : Ride IDE
Original Post
Post Information | Post |
---|---|
October 19, 2009 - 2:26pm
|
I've just installed the newest version of Ride7 (7.24.09.0251) and RKit (1.22.09.0254). |
Forum : Ride IDE
Post Information | Post |
---|---|
October 19, 2009 - 2:26pm
|
I've just installed the newest version of Ride7 (7.24.09.0251) and RKit (1.22.09.0254). |
Hi
From the version you refer you must be working with ARM targets.
May be the projects I tried were not complex enough or I have missed something.
Can you tell this issue would happen with every project, every target, with the simulator or only with RLink?
What else would I need to reproduce the issue?
Regards,
Matloub
I have only one project debugged in this version of Ride7 and RKit. The project uses STM32F103VBT6 device.
With previous version of Ride the problem was not big because I could watch some of the variables; in the newest verision I can't watch any of them.
Hi,
I can see at least 4 explanations to what you describe:
1. Better optimization from the compiler, which can result in the variables (or accesses to variables) being optimized out or similar things. Keep in mind that we cannot guarantee that optimized code is debuggable at all. As a workaround, you can disable optimization, or declare the variables that you want to watch as global and volatile, just for the time of debugging the functions that access them.
2. Regression in the debugger.
3. Combination of better optimization from the compiler and old bug, so far unseen, in the debugger.
4. Bug in the compiler. That's very unlikely but still possible.
You must first rule out explanation #1 by disabling optimization and declaring these variables as global and volatile. Or you can look at the disassembly code to see if the variable still really exists and is handled as you expect.
If the problem persists, to solve the problem we must understand precisely what happens, and for that we will need to have a project that shows the problem, and also to know the versions of the kits that you had before. (when you managed to watch these variables)
Best Regards,
Vincent