|
"We've found 20,000 people who want to attack a city! They all have to be arrested and tortured!"
<buzz from the phone earpiece>
"Yes, I know that it's a troll city in a fantasy world! But it still shows that these people are willing to perform acts of mass violence in urban areas!"
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
So, there's a guy in a helicopter. And he's lost over Seattle in a fog bank.. you know the rest of the story...
debugging a problem in VS2008. Dang IDE tell me it cannot find my executable code for debug (breakpoint icons go clear). The ide tells me the problem - I'm in a helicopter....
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Do not press the ejector seat button!
|
|
|
|
|
"An 'elicopter" sounds more appropriately elephanting.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Are you accidentally trying to debug a release build (without debugging symbols)?
"Real men drive manual transmission" - Rajesh.
|
|
|
|
|
I wish it had been that simple. This was strictly self inflicted frustration. I'm developing for a CE device. VS2008 has two entries when debugging: Remote Executable and Deployment\Remote Directory. If you don't change both to point to the same folder on the target device, VS2008 happily thunders on, but no breakpoints.
Charlie Gilley
<italic>You're going to tell me what I want to know, or I'm going to beat you to death in your own house.
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
when you are coding in Visual Studio and press
Ctrl + A, del and Ctrl + S
then you are done for today
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
As long as you hit Ctrl + Z, Ctrl + S before Alt + F4 you will be fine!
"UNDO" - the only command worth putting in all caps!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
touché ...
but when you are taking an elephant while debuging an endless loop?
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Forogar wrote: "UNDO" - the only command worth putting in all caps! But Shirley it should be spelled "OH F#%$!"
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Absolutely! That's how UNDO is pronounced (English has some very obscure pronunciation rules you know).
...and stop calling me Shirley!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Right-Click Solution -> Undo Pending Changes...
|
|
|
|
|
If you have TFS or similar
|
|
|
|
|
You only lose code once due to missing backups (either manual backups or source control). And if you do you only have yourself to blame
|
|
|
|
|
Hate the programmer do not hate the program
|
|
|
|
|
If you're coding without source control then you're a fool. It may not be integrated in the IDE like that, but you should be always able to revert changes at worst back to the last checkin point.
|
|
|
|
|
I don't need a source control since I'm a solo developer no need the check in check out so other developer don't mix with my code.
|
|
|
|
|
The history preservation is still a good enough reason to use source control. I work in a team in my job, but I have hobby coding at home that no-one else can touch, but it's still worth setting up an SVN repository for it. It means that if I screw up it's far easier to get back to a working state.
|
|
|
|
|
HobbyProggy wrote: when you are coding in Visual Studio and press
Ctrl + A, del and Ctrl + S
Only in Visual Studio I don't think so
|
|
|
|
|
not only but also
but i got fired down with recovery and stuff...
Then i'd say, the awkward moment when you type format c:
into cmd and press enter
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
HobbyProggy wrote: the awkward moment when you type format c:
There is no Ctrl + Z for that
|
|
|
|
|
I once tested a driver on the same machine as I was building it on.
It BSODed, and when I rebooted and opend the project half my source files contained nothing but full stops.
I didnt do that again.
|
|
|
|
|
Erudite_Eric wrote: I once tested a driver on the same machine as I was building it on. Ah, the joys of tweaking production code because after all, "it has to work".
/ravi
|
|
|
|
|
No, I was really developing a kernel driver, crashed my machinem and it trashed half my source code.
Dont test on a dev machine is the moral.
|
|
|
|
|
Erudite_Eric wrote: Dont test on a dev machine is the moral. Without a doubt. That's what I was alluding to.
/ravi
|
|
|
|