Sakrac / IceBroLite

External Debugger for VICE 3.5 and higher
55 stars 7 forks source link

Watch List Not Finding Some Declared Labels #35

Closed paulhocker closed 1 year ago

paulhocker commented 1 year ago

It seems that I cannot declare some of my labels in the watch even though they are defined and show up in the debugger.

image

It looks fine when I query it on the debugger.

image

Sakrac commented 1 year ago

It is hard to debug something I can't repro, but can you try to drag the symbol to the watch window title and see if that gives a different result? It would help narrow it down a bit.

paulhocker commented 1 year ago

Video below.

I did a bit more testing and I renamed the Label to IND_PL and guess what, it works now? So, it would seem that is has something to do with the label starting with one character followed by a underscore? Seems silly. :)

https://user-images.githubusercontent.com/2214652/210294312-0e762bb8-6c02-45f3-baab-b6781e94298a.mp4

image

Sakrac commented 1 year ago

Turns out you were exactly right, it returned I as the interrupt flag and missing that it was part of a symbol because the next character was an underscore and not a letter. I've checked in a code fix.

Sakrac commented 1 year ago

This seems fixed now, checked in v1.12