|
Hmmm,
What's wrong with the built-in memory view?
Ctrl Alt M,1
Ctrl Alt M,2
|
|
|
|
|
Was unaware of this. I'll give it a try. I hope it works for managed code.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Keyboard shortcuts have changed over the years, it was ALT-6 for Memory-1 on older versions. You can always use the menu: Debug->Windows->Memory->Memory-1
|
|
|
|
|
You can "watch" your selection of variables including arrays. Click a variable, right-click, select "Add Watch".
It will waste one line for each element, so its good only when at least one of your arrays is a small one.
Luc Pattyn [My Articles]
The Windows 11 "taskbar" is disgusting. It should be at the left of the screen, with real icons, with text, progress, etc. They downgraded my developer PC to a bloody iPhone.
|
|
|
|
|
Thanks Luc, I'm writing a simple DNS parser, so the arrays are > 40 bytes.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
In such case, I would add some code to visualize the data (some kind of ToString() method); then call it when the data changes (probably only in one or two locations), store the result in an extra class-level variable, and add a watch to that variable.
Slightly more work (unless you want it anyway e.g. for logging), but probably easier to use than a straight hex dump.
Luc Pattyn [My Articles]
The Windows 11 "taskbar" is disgusting. It should be at the left of the screen, with real icons, with text, progress, etc. They downgraded my developer PC to a bloody iPhone.
|
|
|
|
|
I considered what you suggest, but I quickly dismissed it because I'm super lazy.
(I would do it if I really had to.)
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
|
Awesome! Thanks Rick!
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
The Stukowski brothers are hunting in Canada when the first brother grabs his chest and falls to the ground. He doesn't seem to be breathing and his eyes are rolled back in his head. The other brother pulls out his cell phone and dials 911.
He says, "Operator! Operator! Help! Hellpp! My brother's dead. What can I do?"
The operator says calmly, "Just take it easy, I can help. First, let's make sure he's dead."
There's a few seconds of silence and then pow! .. the operator hears a shot.
The second brother comes back on the line and says, "Okay, now what?"
Real programmers use butterflies
|
|
|
|
|
An oldie, but a goodie!
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Well it's new to me. I just heard it today. =) I occasionally make my own jokes, but being environmentally conscious I also like to recycle.
Real programmers use butterflies
|
|
|
|
|
|
I had a good laugh . Thank You . Its' usually "Kowalski" . My last three letters are "ski" also . Jeszcze raz dziękuję . Cześć
"I once put instant coffee into the microwave and went back in time." - Steven Wright
"Shut up and calculate" - apparently N. David Mermin possibly Richard Feynman
My sympathies to the SPAM moderator
“I want to sing, I want to cry, I want to laugh. Everything together. And jump and dance. The day has arrive — yippee!” - Desmond Tutu
“When the green flag drops the bullshit stops!”
"It is cheaper to save the world than it is to ruin it."
|
|
|
|
|
honey the codewitch wrote: The Stukowski brothers
That's rather specific. Is that the woke version, which isn't supposed to offend anyone, or is there some comedy duo by that name I should know about that would explain why the surviving brother is such an idiot...?
Both Bing and Google mostly bring back obituaries. But I don't know if any one of them mentions a hunting accident
|
|
|
|
|
It's how I heard it. I have no idea.
Real programmers use butterflies
|
|
|
|
|
Heard that one before...
Still funny
|
|
|
|
|
Video shows man on fire after police hit him with stun gun[^]
This fella was throwing a tantrum in a New York police station, including pouring hand sanitizer over himself. Yes sunshine, sanitizer contains alcohol - lots of alcohol. When the cops tasered him, he burst out in flames. Sadly he passed away some time later.
Get me coffee and no one gets hurt!
modified 8-Jan-22 10:01am.
|
|
|
|
|
Darwin candidate. I have to wonder if he did this on purpose to become yet another "cop shooting victim". This is more a case of suicide by cop and while I feel (a little) for his family, the real victims here are the three police officers involved.
PS: I don't know the skin color, nor care to know the skin color of the deceased.
|
|
|
|
|
obermd wrote: Darwin candidate. What a horrible thing to say.
That man was struggling with mental illness and was having a temporary breakdown. He was a human being that had a family that loved him. Here is a picture[^] of him smiling and holding his dogs.
|
|
|
|
|
Quote: said officers [...] were familiar with Jones from previous encounters and were likely afraid he was going to hurt himself.
Jones had been a standout track and basketball athlete at Catskill High School more than a decade ago, Without having all the info, seems more like a case of mental disturbance and maybe in these cases tasering is not the best option. To me, Would rather show that officers needed better training at handling acute psychiatric crises.
This is just an opinion ventured outside of my professional expertise. I'm much better at taming bits than people.
Mircea
|
|
|
|
|
Cops need better non-lethal weapons, so I agree.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
So which one do you consider lethal, the taser or the sanitizer? As I have absolutely no understanding of "mental health" I feel sorry for the cops who certainly would not have expected to kill the guy!
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Neither one. I'm saying that the taser is not a one-size-fits-all non-lethal weapon. We need more variety for different situations.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Tasers are less-lethal weapons, meaning they're less likely to kill someone than a gun, not non-lethal ones. Cops like them because they're lower risk to them than grappling with someone to subdue them and don't leave massive bruises/etc that look bad after the fact like assorted club type weapons do. But they still do kill people, and not just those crazy enough to douse themselves with an accelerant or with a bad heart.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
|
|
|
|