Click here to Skip to main content
14,265,480 members

C / C++ / MFC

 
GeneralRe: How to print all source code what was running? Pin
Member 1308136926-Jan-19 11:22
memberMember 1308136926-Jan-19 11:22 
AnswerRe: How to print all source code what was running? Pin
Richard MacCutchan24-Jan-19 22:12
protectorRichard MacCutchan24-Jan-19 22:12 
GeneralRe: How to print all source code what was running? Pin
Member 1308136925-Jan-19 4:24
memberMember 1308136925-Jan-19 4:24 
GeneralRe: How to print all source code what was running? Pin
Richard MacCutchan25-Jan-19 4:46
protectorRichard MacCutchan25-Jan-19 4:46 
GeneralRe: How to print all source code what was running? Pin
Stefan_Lang28-Jan-19 2:01
memberStefan_Lang28-Jan-19 2:01 
AnswerRe: How to print all source code what was running? Pin
Stefan_Lang25-Jan-19 3:29
memberStefan_Lang25-Jan-19 3:29 
GeneralRe: How to print all source code what was running? Pin
Member 1308136925-Jan-19 4:30
memberMember 1308136925-Jan-19 4:30 
GeneralRe: How to print all source code what was running? Pin
Stefan_Lang28-Jan-19 0:42
memberStefan_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
memberDavid Crow25-Jan-19 4:44 
AnswerRe: How to print all source code what was running? Pin
k505425-Jan-19 6:31
memberk505425-Jan-19 6:31 
QuestionRe: How to print all source code what was running? Pin
David Crow25-Jan-19 6:46
memberDavid Crow25-Jan-19 6:46 
GeneralRe: How to print all source code what was running? Pin
Member 1308136925-Jan-19 13:51
memberMember 1308136925-Jan-19 13:51 
GeneralRe: How to print all source code what was running? Pin
Stefan_Lang28-Jan-19 0:52
memberStefan_Lang28-Jan-19 0:52 
AnswerRe: How to print all source code what was running? Pin
Member 1308136925-Jan-19 13:43
memberMember 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
memberMember 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
memberMember 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
memberMember 1308136930-Jan-19 12:22 
GeneralRe: How to print all source code what was running? Pin
Stefan_Lang28-Jan-19 1:32
memberStefan_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
memberStefan_Lang28-Jan-19 21:12 
AnswerRe: How to print all source code what was running? Pin
Victor Nijegorodov26-Jan-19 5:26
memberVictor Nijegorodov26-Jan-19 5:26 
GeneralRe: How to print all source code what was running? Pin
Member 1308136926-Jan-19 12:05
memberMember 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.