473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to debug a program only having .exe file

I have a question that how to debug a program only having .exe file. Is
there any techniques or tools that can do that?
Thanks a lot.
Jul 22 '05 #1
4 2603
On Tue, 3 Aug 2004 13:45:25 +0800, Bloon <co*******@hotmail.com> wrote:
I have a question that how to debug a program only having .exe file. Is
there any techniques or tools that can do that?
Thanks a lot.


Do you have a question on C++?

I suggest you fire up google and search for "reverse engineering". I don't
know what your motives are but most of this stuff is illegal.

john
Jul 22 '05 #2
Bloon wrote:
I have a question that how to debug a program only having .exe file. Is
there any techniques or tools that can do that?


Only by learning assembler, then getting a debugger that can read the raw
machine language for your EXE, execute it, and show you each variable.

You are in for a very hard time if you need to get your project done, like
that, this decade. Try a different tactic.

Warning: This newsgroup is only qualified to answer questions about the C++
language. You need a newsgroup that covers the EXE file format, or assembler
for your platform, or your actual problem.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces

Jul 22 '05 #3

"Phlip" <ph*******@yahoo.com> wrote in message
news:bO***************@newssvr15.news.prodigy.com. ..
Bloon wrote:
Warning: This newsgroup is only qualified to answer questions about the C++ language. You need a newsgroup that covers the EXE file format, or assembler for your platform, or your actual problem.

--
Phlip


Well, what we're "qualified" for here varies a great deal, I'm pretty sure.
:-) But you're correct that this is not the correct newsgroup to ask
questions such as this.

-Howard

Jul 22 '05 #4
Howard wrote:
Well, what we're "qualified" for here varies a great deal, I'm pretty sure.
:-) But you're correct that this is not the correct newsgroup to ask
questions such as this.


A seasonal feature on behalf of the bouncier regulars here.

news:comp.lang.c++ discusses an advanced language often thrust upon
neophytes. They misunderstand the relationships between their
language, their libraries, their platforms, and USENET. Unchecked,
their posts would fill this newsgroup and starve the more deserving
and accurate ones. Regulars increase the odds of discussing C++ here
if they learn to politely, responsibly, and gently guide our new
members towards better USENET participation.

Following these rules will help one avoid a flame-back on one's bounce
posts:

- Always try to help. If you can't, don't bounce. Others who can
will help and bounce. Include a brief hint at the answer, to
provide direction, and provide an alternative forum.

- Post more on-topic answers than you bounce. "Policing" the group
may feel fun, but it starts a bad mentality. Anyone seen Paul
Lutus around recently?

- If a question is marginal, it's up to you to make the >reply<
on-topic. Example: "how does strdup() work?" Don't be a jerk
and pretend you don't know just because 'strdup()' is not in
the Standard Library. The correct answer is "strdup() works
worse than std::string::operator=()".

- Put OT: in the Subject if you can't follow the last rule. This
helps C++ purists filter their listings and see more on-topic
posts.

- Do not flame someone for providing an off-topic answer. In a
debate, referring to topicality will not get you points.

- Read the danged post. It's innocent until proven guilty. Did you
know that some posts have been bounced here just because they
mentioned VC++ in the header? The >entire post< has to be
off-topic,
not just a few words.

- Bounce messages should reinforce topicality is in the poster's best
interest. Do not say, "You are an idiot and we don't want you in
our exclusive club." Say instead, "You will get the best answer in
news:comp.whatever."

- For the newbies: The topic of the group is Standard C++. This means
we try to attract regulars who like to answer platform neutral
questions. POSIX is also platform neutral, so the odds someone here
knows the answer to a question about _open() is very high. But
there
are still better newsgroups for such a question.

- For the regulars: Telling a newbie that their post is off-topic
because the topic of the newsgroup is "Standard C++" is a useless
tautology. Invite discussions of platform neutral topics, theory,
design patterns, etc. The ISO C++ Standard does not define any of
those things; they are still of interest to all C++ programmers.
These
rules help our critical mass of regulars A> not get bored, and B>
proof others' answers, regardless of the platform.

- "What library should I use to" is on-topic. If you sent them to a
MS newsgroup, and a Borland library were better, wouldn't you feel
guilty?

- Technical fora include newsgroups, Web fora, list servers, Wikis,
chat rooms, Web source code repositories, Web snippet sites, Web
tutorial sites, vendor Web sites, and Web search engines. Don't
send
some other newsgroup what they'l consider a FAQ if you can suggest
the newbie locate the FAQ itself.

- Help newsreaders make URLs clickable. Use the http: or news:
protocol prefix.

- Some posters are unaware of http://groups.google.com . It will find
either the answer or the correct newsgroup.

- Refer to Shiva's excellent Welcome message, at least, in a bounce
message.

http://www.slack.net/~shiva/welcome.txt

--
Phlip
http://www.greencheese.org/SkeletonCrew
-- This machine last rebooted during the Second Millenium --
Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bill Cohagan | last post by:
I'm writing a console app (in C#) and I want to be able to redirect the standard input/output streams when it's run at a command prompt. IOW I want to support the "<" and ">" redirection syntax....
2
by: teddy | last post by:
I am having a crisis with vs.net 2003. I am using c# and i am running my program and i get the following dialog box out of the blue. "Visual Studio cannot start because the debug target...
10
by: Scott | last post by:
I have a simple asp.net app which works fine in debug mode, but crashes on the following line when I run it on the production server: Dim dt As DataTable I have tried the following variations...
9
by: dee | last post by:
Hi I'm about to upload my site and I have switched to release version. Is that enough or do I still need to disable <compilation defaultLanguage="vb" debug="true" /> the debug="true" in the .pdb...
2
by: mike2036 | last post by:
Forgive me for re-posting this...in the first post, I replied to myself, and the self-reply may having sounded like I found the problem, but it was actually a correction. ----------------- I...
2
by: FBM | last post by:
Hi, I am preparing project for submission and i'd like to allow the print out of debug messages. I know that with something like #define DEBUG #ifdef DEBUG print(X); #endif
4
by: nmrcarl | last post by:
I'm trying to upgrade a large project from VS 6.0 to VS 2005. After fixing a lot of things that changed (mostly sloppy coding in the original project that VS2005 didn't allow), I got the release...
6
by: Scubadude | last post by:
Hi, I'm new to perl and have run into some roadblocks while trying to run tutorials. I have installed Apache v2.2.3 I have installed ActivePerl v6.6.1.638 I have installed php v5.2.0 I am...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.