Yellow pointer arrow is missing in debug session

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I just noticed that the yellow arrow that was on teh left side of the screen indicating where you are in the code during a debug session is missing. 

 

How does one reactivate teh little bugger?

 

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Probably means that the program counter does not resolve this any source files...

:: Morten

 

(yes, I work for Microchip, yes, I do this in my spare time, now stop sending PMs)

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

But the program loads into the xmega and I can watch teh variables do their thing so something is working.....

 

Jim

 

Edit:

Hmmmm Loaded up a different project and the arrow is back!  Ok, in this project I have the arrow, but in teh other project I have a blinking vertical line.  I wonder what is the issue.

 

 

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

Last Edited: Fri. Mar 6, 2020 - 12:43 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Optimization level?

Letting the smoke out since 1978

 

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

digitalDan wrote:

Optimization level?

 

I dont bother with optimisation...I dont know how to set it anyway so its whatever AS7 makes it.

 

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sounds weird indeed...

Deleting the .vs folder in your project should remove any project level state in Studio (i.e breakpoints etc)... Might help..?

:: Morten

 

(yes, I work for Microchip, yes, I do this in my spare time, now stop sending PMs)

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 2

If you have:

int main() {
    stuff();
    while(1) {
        // nothing here because it's all in ISRs
    }
}

then if you step into the while(1) the yellow arrow will, indeed, disappear. It reappears when "a C statement is finished" but the infinite RJMP behind this while(1) never finishes (even if there is all kinds of interrupt activity going on elsewhere).

 

If it is something like this just liberally sprinkle breakpoints all over the other code at places you know it will visit - the yellow guy should reappear when it hits a break.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have been stuggling with the same issue the whole day. Currently on AS7.0.2542. Yellow arrow missing in my latest project. Also when trying to set breakpoints i get the warning "The breakpoint will not currently be hit. Unable to set requested breakpoint on target. Note: The current selected device is unable to set breakpoints during runtime."

The strange thing is that the debugging works in older projects.

I finally noticed that i had swedish characters in the path of the new project, but not in any of the older projects. 

After replacing the offending characters and creating a new project it all works again :)