Click here to Skip to main content
15,887,267 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.

 
GeneralRe: I am appalled Pin
Gerry Schmitz30-Dec-20 7:01
mveGerry Schmitz30-Dec-20 7:01 
GeneralRe: I am appalled Pin
Marc Clifton30-Dec-20 7:40
mvaMarc Clifton30-Dec-20 7:40 
GeneralRe: I am appalled Pin
Chris Maunder30-Dec-20 7:57
cofounderChris Maunder30-Dec-20 7:57 
GeneralRe: I am appalled Pin
rnbergren30-Dec-20 8:12
rnbergren30-Dec-20 8:12 
GeneralRe: I am appalled Pin
Nelek30-Dec-20 8:17
protectorNelek30-Dec-20 8:17 
GeneralRe: I am appalled Pin
W Balboos, GHB30-Dec-20 8:56
W Balboos, GHB30-Dec-20 8:56 
GeneralRe: I am appalled Pin
Nelek30-Dec-20 9:20
protectorNelek30-Dec-20 9:20 
PraiseVS Code community FTW! Pin
honey the codewitch30-Dec-20 1:47
mvahoney the codewitch30-Dec-20 1:47 
I've been struggling to debug my JSON pull parser ever since I traded away line and column counting for a significant performance opportunity. I regret nothing. NOTHING!

And yet, all I get now for my location in the document is a cryptic offset of characters from the beginning of the stream/file/connection/whatever. Basically, a position property.

So i've been trying to track the progress of my reader while it's doing automated extractions. The reader's path through the document can get really complicated and hard to follow. That's fine, when it works, but it's still got a few problems.

So how the heck do I debug this without my line and column counting?

Woo!
vscode-position - Visual Studio Marketplace[^]

It shows me the document's current position next to the line and column info in VS code.

I owe this person an alcoholic beverage of their choosing. Shucks | :-\

Also, bless VS code for being extensible with friggin typescript!
Real programmers use butterflies

Generalstrange mouse/video monitor phenomena Pin
BernardIE531729-Dec-20 23:46
BernardIE531729-Dec-20 23:46 
GeneralRe: strange mouse/video monitor phenomena Pin
Richard MacCutchan29-Dec-20 23:49
mveRichard MacCutchan29-Dec-20 23:49 
GeneralRe: strange mouse/video monitor phenomena Pin
OriginalGriff30-Dec-20 0:00
mveOriginalGriff30-Dec-20 0:00 
GeneralRe: strange mouse/video monitor phenomena Pin
DRHuff30-Dec-20 1:53
DRHuff30-Dec-20 1:53 
GeneralRe: strange mouse/video monitor phenomena Pin
honey the codewitch30-Dec-20 1:56
mvahoney the codewitch30-Dec-20 1:56 
GeneralRe: strange mouse/video monitor phenomena Pin
OriginalGriff30-Dec-20 1:57
mveOriginalGriff30-Dec-20 1:57 
GeneralRe: strange mouse/video monitor phenomena Pin
theoldfool30-Dec-20 1:01
professionaltheoldfool30-Dec-20 1:01 
GeneralRe: strange mouse/video monitor phenomena Pin
honey the codewitch30-Dec-20 1:53
mvahoney the codewitch30-Dec-20 1:53 
GeneralI just got my first YouTube subscriber! Pin
OriginalGriff29-Dec-20 21:44
mveOriginalGriff29-Dec-20 21:44 
GeneralRe: I just got my first YouTube subscriber! Pin
Sandeep Mewara29-Dec-20 21:51
mveSandeep Mewara29-Dec-20 21:51 
GeneralRe: I just got my first YouTube subscriber! Pin
rnbergren30-Dec-20 2:15
rnbergren30-Dec-20 2:15 
GeneralRe: I just got my first YouTube subscriber! Pin
Richard MacCutchan29-Dec-20 21:59
mveRichard MacCutchan29-Dec-20 21:59 
GeneralRe: I just got my first YouTube subscriber! Pin
OriginalGriff29-Dec-20 22:04
mveOriginalGriff29-Dec-20 22:04 
GeneralRe: I just got my first YouTube subscriber! Pin
RickZeeland29-Dec-20 22:05
mveRickZeeland29-Dec-20 22:05 
GeneralRe: I just got my first YouTube subscriber! Pin
DaveAuld30-Dec-20 0:05
professionalDaveAuld30-Dec-20 0:05 
GeneralRe: I just got my first YouTube subscriber! Pin
theoldfool30-Dec-20 0:59
professionaltheoldfool30-Dec-20 0:59 
GeneralThe EU and the UK - always up to date... Pin
Daniel Pfeffer29-Dec-20 20:38
professionalDaniel Pfeffer29-Dec-20 20:38 

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.