/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Can’t debug CircleOS (1.7)

Username:     
Password:     
             

Forum

# 1   2008-07-14 13:27:37 Can’t debug CircleOS (1.7)

DonSom
New member
Registered: 2008-06-09
Posts: 3

Can’t debug CircleOS (1.7)

Hello,
I downloaded latest version of circleOS and tried to debug (for learning). I did the following:
“Debugging Information” to “Debug”
Assembler options – Debug to Yes

The first time I start all is ok. I can step through. If I change a single line, compile and start, debugging is not possible to step through anymore (as compiled without debugging information’s).
Does anyone know a way out?
Thanks you for your help.

Offline

 

# 2   2008-07-23 07:47:00 Can’t debug CircleOS (1.7)

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Can’t debug CircleOS (1.7)

It is possible to debug CircleOS, but only with the 'SIZE' level of optimization, and with an application smaller than 8KB (most of the projects available on this web site).
NOw, debugging with the SIZE optimization level makes things sometimes difficult to follow. But it should work...

Offline

 

# 3   2008-07-25 09:16:38 Can’t debug CircleOS (1.7)

DonSom
New member
Registered: 2008-06-09
Posts: 3

Re: Can’t debug CircleOS (1.7)

Hello Francis,
thank you for your answer. Unfortunately, this was not the problem.
But I think I found it….
Set focus in project to main.c. Compile it, sometimes focus flips to the Circle project and debugging works. Sometimes focus flips to Fat project (probably it starts this Fat, but Circle is still the active project) and debugging not working anymore….
Regards

Offline

 

# 4   2008-07-31 13:30:13 Can’t debug CircleOS (1.7)

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Can’t debug CircleOS (1.7)

If you select another application (FAT, ...) and you launch the debug, this application will be loaded (and debugged when debuggable).

Offline

 

# 5   2008-08-04 14:18:55 Can’t debug CircleOS (1.7)

DonSom
New member
Registered: 2008-06-09
Posts: 3

Re: Can’t debug CircleOS (1.7)

Yes, I know. The point is I do not select the other application, Ride flips by itself.
Anyway, now I know it and I can live with it.

Offline

 

Board footer