Click here to Skip to main content
14,487,639 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralNothing to do with computers, or development, but ... the headline just cracks me up Pin
OriginalGriff13-Dec-19 11:37
mveOriginalGriff13-Dec-19 11:37 
GeneralRe: Nothing to do with computers, or development, but ... the headline just cracks me up Pin
Super Lloyd13-Dec-19 14:31
MemberSuper Lloyd13-Dec-19 14:31 
GeneralRe: Nothing to do with computers, or development, but ... the headline just cracks me up Pin
honey the codewitch13-Dec-19 20:37
mvahoney the codewitch13-Dec-19 20:37 
GeneralRe: Nothing to do with computers, or development, but ... the headline just cracks me up Pin
devenv.exe13-Dec-19 21:10
professionaldevenv.exe13-Dec-19 21:10 
GeneralRe: Nothing to do with computers, or development, but ... the headline just cracks me up Pin
Mycroft Holmes14-Dec-19 12:02
professionalMycroft Holmes14-Dec-19 12:02 
Generalnow this is a change Pin
lopatir13-Dec-19 5:45
Memberlopatir13-Dec-19 5:45 
GeneralRe: now this is a change Pin
CodeWraith13-Dec-19 6:11
MemberCodeWraith13-Dec-19 6:11 
GeneralARGHHH! But it worked when it was broken Pin
honey the codewitch13-Dec-19 4:58
mvahoney the codewitch13-Dec-19 4:58 
Now I'm a little scared. Because code that I knew was broken is working but when I "fixed" it the whole thing falls on its face.

The problem is, given a bit of code, find all variables declared within the scope of that code.

Prior, i was just getting all the variables in the routine. I knew it was wrong, but i hadn't worked out the problem yet.

Now I have, so I went back to update the code. As soon as I put it in Slang's patcher stops finding some of my variables!

So I test the variable tracer some more. It works as good as I could have hoped.

Which means somewhere, something else doesn't. And I barely know where to begin to look because of how this works.

Worse, currently my repro requires running a very particular bit of slang code as part of my lexer generator - "Rolex"'s operation, which means i had to pull that out and duplicate it in a scratch binary to debug, but it's still not very narrowed down. I can't quite find the bit where i need to test in the debugger.

The trouble is visitors are nasty when things go wrong. The visitor works right, it's the code that's firing on visit that's bad somewhere, and that happens inside a visit so the call stack is a nightmare.

And it's friday the 13th. Just my day. Maybe I should stay off the computer. Laugh | :laugh:

Building stuff like this is rough.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: ARGHHH! But it worked when it was broken Pin
Greg Utas13-Dec-19 7:12
professionalGreg Utas13-Dec-19 7:12 
GeneralRe: ARGHHH! But it worked when it was broken Pin
  Forogar  13-Dec-19 7:58
professional  Forogar  13-Dec-19 7:58 
GeneralRe: ARGHHH! But it worked when it was broken Pin
Greg Utas13-Dec-19 8:15
professionalGreg Utas13-Dec-19 8:15 
GeneralThought of the Day Pin
OriginalGriff13-Dec-19 4:55
mveOriginalGriff13-Dec-19 4:55 
GeneralRe: Thought of the Day Pin
W Balboos, GHB13-Dec-19 5:04
mveW Balboos, GHB13-Dec-19 5:04 
NewsRe: Thought of the Day Pin
lopatir13-Dec-19 5:05
Memberlopatir13-Dec-19 5:05 
GeneralRe: Thought of the Day Pin
jeron113-Dec-19 5:23
Memberjeron113-Dec-19 5:23 
General'Tis the season Pin
Sander Rossel12-Dec-19 23:44
professionalSander Rossel12-Dec-19 23:44 
GeneralRe: 'Tis the season Pin
OriginalGriff12-Dec-19 23:49
mveOriginalGriff12-Dec-19 23:49 
GeneralRe: 'Tis the season Pin
Cp-Coder13-Dec-19 2:45
MemberCp-Coder13-Dec-19 2:45 
GeneralRe: 'Tis the season Pin
lopatir13-Dec-19 4:23
Memberlopatir13-Dec-19 4:23 
GeneralRe: 'Tis the season Pin
dandy7214-Dec-19 10:56
Memberdandy7214-Dec-19 10:56 
GeneralRe: 'Tis the season Pin
agolddog16-Dec-19 2:45
Memberagolddog16-Dec-19 2:45 
GeneralRe: 'Tis the season Pin
Kirk 1038982116-Dec-19 3:32
MemberKirk 1038982116-Dec-19 3:32 
PraiseRe: 'Tis the season Pin
phil.o13-Dec-19 0:21
mvephil.o13-Dec-19 0:21 
GeneralRe: 'Tis the season Pin
musefan13-Dec-19 0:28
Membermusefan13-Dec-19 0:28 
GeneralRe: 'Tis the season Pin
phil.o13-Dec-19 0:37
mvephil.o13-Dec-19 0:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.