Topic : Why Ride always compiles all the source files when starting debuggin ?

Forum : Ride IDE

Original Post
Post Information Post
November 24, 2009 - 3:04pm
Guest

I have annoying problem which appeared some time ago and still exists. When I launch debug session (Ctrl+D) Ride always starts compilation of all the source code files in the project. The files were compiled before. The compilation takes some time because there are many C files in my project. Also, when i press F9 the compilation takes all the source files. As I remember, pressing F9 should compile only last modified file and starting debug session should start compilation only if there are modified and not compiled files in the project. It seems some setting in the Ride7 environment have changed but I don't know how to solve the problem. Do you have any suggestions ?

Replies
Post Information Post
+1
0
-1
November 24, 2009 - 5:59pm
Guest

Hi

Can you let us know on which target are working on.
Does the problem appear with any project?
Under each source node are you able to see dependencies tree
if yes check that it is updated adding another header file in one of your source file.

Regards,
Matloub

+1
0
-1
November 25, 2009 - 7:16am
Guest

Hi

The problem appears in one project only. It is based on STM32F103C8T6 device.

Ride7 version: 7.24.09.0251
RKit version: 1.22.09.0254

All the C files in my project are grouped in 3 folders which are seen in Project panel (the panel that displays all the .c and .h files in the project)
Also i noticed that after compilation, no information is displayed about code and data size for each compiled file. For example, in projects where i don't have the problem i described in this thread, in Project panel i can see the following:

"msd.c text=3392 data=0 bss=0"

But now i get only the following:

"msd.c"

+1
0
-1
November 25, 2009 - 10:49am
Guest

Hi

If the problem appears only with one project it is a good news.
The make process is directly linked to the dependencies handling.

Can you check that you just did not disable the display of these information
On project node windows you should have a "Show" which allow to control this display.

Can you check write properties on the folders you are working on.

Can you try to remove all the temporary files of your project
-output files: .lst, .o, .elf
- .ctx
- .map
- .xml
- .xdb

Regards,
Matloub

+1
0
-1
November 25, 2009 - 2:28pm
Guest

I deleted the files you've mentioned but also created new project again. Now everything works OK.
Thanks for help.

+1
0
-1
May 4, 2010 - 4:47pm
Guest

Hi
I've the same problem described by Kekon (http://raisonance-forum.xsalto.com/viewtopic.php?id=3098).

In my case, however, the problem always occurs, even with new created projects.
I've reinstalled Ride7, I've opened existing projects, I've created new ones many times, but the problem still remains.
My computer needs several minutes to compile all the project (about 50 source files).

The previous version of Ride7 has worked properly, but, if I try to reinstall it, it shows the same problem of the new one.

How can I do?

O.S.: Windows 7 ultimate
Ride7: 7.28.10.0075
RKit: 1.24.10.0050

Regards,
Sergio.

+1
0
-1
May 4, 2010 - 5:51pm
Guest

Hi Sergio,

Do you have this error even with installed example projects? Or is this special to your project?

Regards,
Behnaz

+1
0
-1
May 4, 2010 - 5:57pm
Guest

Hi,

This error occur with all projects.

I've just tested "testR7.rpj" and the project provided by A.N. of ST.
The problem is the same.

Regards,
Sergio

+1
0
-1
May 4, 2010 - 6:07pm
Raisonance Support Team

Hi,

I think it might be the same problem as the one reported by this other customer:
http://raisonance-forum.xsalto.com/viewtopic.php?id=3205

Did you install Ride in a path that contains more than one space? ("archivos de programa" in his case)

Best Regards,

Vincent

+1
0
-1
May 4, 2010 - 6:23pm
Guest

Hi,

I've tried the patch and now the problem is solved.
Thanks.

Best Regards,
Sergio