Click here to Skip to main content
15,890,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: vString Pin
Tyler Elric23-Oct-11 8:39
Tyler Elric23-Oct-11 8:39 
GeneralRe: vString Pin
Niklas L24-Oct-11 22:28
Niklas L24-Oct-11 22:28 
QuestionRegarding IntelliTrace equivalent tool in C++ Pin
ramana.g20-Oct-11 12:54
ramana.g20-Oct-11 12:54 
AnswerRe: Regarding IntelliTrace equivalent tool in C++ Pin
Luc Pattyn20-Oct-11 14:19
sitebuilderLuc Pattyn20-Oct-11 14:19 
GeneralRe: Regarding IntelliTrace equivalent tool in C++ Pin
Philippe Mori20-Oct-11 16:24
Philippe Mori20-Oct-11 16:24 
AnswerRe: Regarding IntelliTrace equivalent tool in C++ Pin
Erudite_Eric20-Oct-11 20:20
Erudite_Eric20-Oct-11 20:20 
AnswerRe: Regarding IntelliTrace equivalent tool in C++ Pin
Stefan_Lang21-Oct-11 2:37
Stefan_Lang21-Oct-11 2:37 
AnswerRe: Regarding IntelliTrace equivalent tool in C++ Pin
Bram van Kampen21-Oct-11 16:14
Bram van Kampen21-Oct-11 16:14 
Hi,

Console Application? the old adage is: "When in Doubt, Print more Out". The Macro's
C++
__LINE__
and
C++
__FILE__ 
are realy handy there. Write a Dump Function, and do something like:

C++
Dump(__FILE__,__LINE__,"Still Alive")

That is how you narrow down problems. You know your code, because you wrote it. It is hard to see how an Intellitrace debugger can have a better idea about what you wanted to write in the first place than that you can have. (It could work well in those highly structured Wizzard ridden area's such as Web Matrix. There the Author has no notion of what was written on his behalf, the only thing known to him there is what he wanted to achieve.

Commandline Programs? Not very likely Candidates for that technology.

When it trashes, you can narrow down where it happens. Also, occasional trashing tends to happen in retail code. Not much code is tested long enough in debug mode to catch an occasional trashing.

Even MS Word trashes occasionally, and that is also not always a software issue of your making.

Anyway, Debuggers don't work very well with retail code. LogFiles Do! Also, You Don't need to log in Text, You can create your own logging format, plus a (windows) app that can read and display the info.

If your code is perfect, but on occasion Windows trashes it anyways, there is little you can do (apart from re-writing Windows)

However, What are the Consequences of trashing. Did the User loose their input(inconvenience) or was an entire network or database crashed(Unmitigated Disaster). The former, Let it Go, if it is infrequent. The Latter: write your software mindfull of this, and be aware of the transaction technology you implement or wrote.

Hope this is Helpful,

Smile | :)
Bram van Kampen

Questionprogramming in c++ Pin
maheen zahra20-Oct-11 6:09
maheen zahra20-Oct-11 6:09 
AnswerRe: programming in c++ Pin
Richard MacCutchan20-Oct-11 7:17
mveRichard MacCutchan20-Oct-11 7:17 
AnswerRe: programming in c++ Pin
Albert Holguin20-Oct-11 7:18
professionalAlbert Holguin20-Oct-11 7:18 
AnswerRe: programming in c++ Pin
Erudite_Eric20-Oct-11 7:28
Erudite_Eric20-Oct-11 7:28 
GeneralRe: programming in c++ Pin
Albert Holguin20-Oct-11 9:30
professionalAlbert Holguin20-Oct-11 9:30 
GeneralRe: programming in c++ Pin
Erudite_Eric20-Oct-11 20:17
Erudite_Eric20-Oct-11 20:17 
GeneralRe: programming in c++ Pin
Albert Holguin21-Oct-11 4:46
professionalAlbert Holguin21-Oct-11 4:46 
GeneralRe: programming in c++ Pin
afsus23-Dec-11 23:44
afsus23-Dec-11 23:44 
GeneralRe: programming in c++ Pin
Manfred Rudolf Bihy20-Oct-11 15:49
professionalManfred Rudolf Bihy20-Oct-11 15:49 
GeneralRe: programming in c++ Pin
Erudite_Eric20-Oct-11 20:14
Erudite_Eric20-Oct-11 20:14 
AnswerRe: programming in c++ Pin
Bram van Kampen21-Oct-11 16:23
Bram van Kampen21-Oct-11 16:23 
Questionhow about setting MFC IN C++ Pin
afsus20-Oct-11 0:44
afsus20-Oct-11 0:44 
AnswerRe: how about setting MFC IN C++ Pin
André Kraak20-Oct-11 3:49
André Kraak20-Oct-11 3:49 
QuestionFunction pointer point to a object member function in C++? Pin
lvantin19-Oct-11 21:02
lvantin19-Oct-11 21:02 
AnswerRe: Function pointer point to a object member function in C++? Pin
Stefan_Lang19-Oct-11 23:21
Stefan_Lang19-Oct-11 23:21 
AnswerRe: Function pointer point to a object member function in C++? Pin
App_19-Oct-11 23:22
App_19-Oct-11 23:22 
Questionvisual studio run time problem Pin
trioum19-Oct-11 20:09
trioum19-Oct-11 20:09 

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.