Click here to Skip to main content
15,885,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to print all source code what was running? Pin
Member 1308136926-Jan-19 11:22
Member 1308136926-Jan-19 11:22 
AnswerRe: How to print all source code what was running? Pin
Richard MacCutchan24-Jan-19 22:12
mveRichard MacCutchan24-Jan-19 22:12 
GeneralRe: How to print all source code what was running? Pin
Member 1308136925-Jan-19 4:24
Member 1308136925-Jan-19 4:24 
GeneralRe: How to print all source code what was running? Pin
Richard MacCutchan25-Jan-19 4:46
mveRichard MacCutchan25-Jan-19 4:46 
GeneralRe: How to print all source code what was running? Pin
Stefan_Lang28-Jan-19 2:01
Stefan_Lang28-Jan-19 2:01 
AnswerRe: How to print all source code what was running? Pin
Stefan_Lang25-Jan-19 3:29
Stefan_Lang25-Jan-19 3:29 
GeneralRe: How to print all source code what was running? Pin
Member 1308136925-Jan-19 4:30
Member 1308136925-Jan-19 4:30 
GeneralRe: How to print all source code what was running? Pin
Stefan_Lang28-Jan-19 0:42
Stefan_Lang28-Jan-19 0:42 
No it doesn't. You don't understand what you're asking for. Even if it would kind of work out for the very simple program you are looking at right now, it won't help you beyond that: the next time you're trying to understand some code, it won't be good enough, and you will eventually realize that you wasted a lot of time with a tool that, in the end, doesn't really help.

Please take the advice from people who have spent decades on programming and using tools. The debugger is the second tool I learned to use after the editor, and it is still the most helpful tool I use today. Without it, large scale applications wouldn't be possible, and smaller ones would cost orders of magnitude more money and time to develop.

With a debugger you can do the inspection you're asking for at runtime, and a lot more. You won't need to write one yourself, nyou won't have to wait for it's output to be written, and you won't waste ludicrous amouunts of storage space. It's better in any way you can think of.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

QuestionRe: How to print all source code what was running? Pin
David Crow25-Jan-19 4:44
David Crow25-Jan-19 4:44 
AnswerRe: How to print all source code what was running? Pin
k505425-Jan-19 6:31
mvek505425-Jan-19 6:31 
QuestionRe: How to print all source code what was running? Pin
David Crow25-Jan-19 6:46
David Crow25-Jan-19 6:46 
GeneralRe: How to print all source code what was running? Pin
Member 1308136925-Jan-19 13:51
Member 1308136925-Jan-19 13:51 
GeneralRe: How to print all source code what was running? Pin
Stefan_Lang28-Jan-19 0:52
Stefan_Lang28-Jan-19 0:52 
AnswerRe: How to print all source code what was running? Pin
Member 1308136925-Jan-19 13:43
Member 1308136925-Jan-19 13:43 
AnswerRe: How to print all source code what was running? Pin
Randor 25-Jan-19 13:51
professional Randor 25-Jan-19 13:51 
GeneralRe: How to print all source code what was running? Pin
Member 1308136926-Jan-19 12:53
Member 1308136926-Jan-19 12:53 
GeneralRe: How to print all source code what was running? Pin
Randor 26-Jan-19 15:43
professional Randor 26-Jan-19 15:43 
GeneralRe: How to print all source code what was running? Pin
Member 1308136926-Jan-19 22:40
Member 1308136926-Jan-19 22:40 
GeneralRe: How to print all source code what was running? Pin
Randor 28-Jan-19 4:30
professional Randor 28-Jan-19 4:30 
GeneralRe: How to print all source code what was running? Pin
Member 1308136930-Jan-19 12:22
Member 1308136930-Jan-19 12:22 
GeneralRe: How to print all source code what was running? Pin
Stefan_Lang28-Jan-19 1:32
Stefan_Lang28-Jan-19 1:32 
GeneralRe: How to print all source code what was running? Pin
Randor 28-Jan-19 4:13
professional Randor 28-Jan-19 4:13 
GeneralRe: How to print all source code what was running? Pin
Stefan_Lang28-Jan-19 21:12
Stefan_Lang28-Jan-19 21:12 
AnswerRe: How to print all source code what was running? Pin
Victor Nijegorodov26-Jan-19 5:26
Victor Nijegorodov26-Jan-19 5:26 
GeneralRe: How to print all source code what was running? Pin
Member 1308136926-Jan-19 12:05
Member 1308136926-Jan-19 12:05 

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.