Debugging problem
-
I have to debug two projects which are of different versions..started debugging from VC2008 to VC6.In 2008 from a function to another function in vc6.In vc2008 showing correct values but in vc6 not showing any values both strings & numbers.The output VC6 code is a dll.What to do?Pls help....
modified on Friday, December 17, 2010 7:15 AM
-
I have to debug two projects which are of different versions..started debugging from VC2008 to VC6.In 2008 from a function to another function in vc6.In vc2008 showing correct values but in vc6 not showing any values both strings & numbers.The output VC6 code is a dll.What to do?Pls help....
modified on Friday, December 17, 2010 7:15 AM
I would add some log statements (print to output window, or print to file). If you do this for more than one project, make sure to include timing information, I typically have the current time in "HH:mm:ss.fff" format. Yes, it takes some effort adding the lines, and they do influence timing a bit, however they are a big help. BTW: I don't remove them, I just disable them when I (think I) no longer need them. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
-
I would add some log statements (print to output window, or print to file). If you do this for more than one project, make sure to include timing information, I typically have the current time in "HH:mm:ss.fff" format. Yes, it takes some effort adding the lines, and they do influence timing a bit, however they are a big help. BTW: I don't remove them, I just disable them when I (think I) no longer need them. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
-
I don't care about the expected answer, I'm only offering a solution. You can turn it down and continue waiting for someone to tell you whatever it is you do expect. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
-
I have to debug two projects which are of different versions..started debugging from VC2008 to VC6.In 2008 from a function to another function in vc6.In vc2008 showing correct values but in vc6 not showing any values both strings & numbers.The output VC6 code is a dll.What to do?Pls help....
modified on Friday, December 17, 2010 7:15 AM
Huh ? I'm not certain I understand the question, or what you are actually doing... Are you saying you have the same code compiled on VC6 and VS2008 that generate different results ? If you are generating a DLL, you need to have an executable that will call the code in the DLL and check that. One way to do that, is to use log file. Another way is to use unit tests. Good luck.
Watched code never compiles.
-
That's is rude. We're trying to help; if you do not want help, don't ask questions.
Watched code never compiles.
-
Nami.v.s wrote:
Sorry i think this is not the expected answer.
Maybe you should explain what is the expected answer, so someone can find it for you.
Just say 'NO' to evaluated arguments for diadic functions! Ash
knowing the answer to a question is half-cheating! :-)
Watched code never compiles.