• C++ Programming for Financial Engineering
    Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering. Learn more Join!
    Python for Finance with Intro to Data Science
    Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job. Learn more Join!
    An Intuition-Based Options Primer for FE
    Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models. Learn more Join!

DEV C++ debugging issue

never had problem on Ubuntu 9.04. I know I should upgrade.

You didn't get the joke regarding Vim or Emacs. You are probably too young.
 
As usual

never had problem on Ubuntu 9.04. I know I should upgrade.

You didn't get the joke regarding Vim or Emacs. You are probably too young.

As usual, you want to show that you can. How can you know I am young or old? Are you discriminate against age?

I wonder if you teach refresher course at Baruch, you should some respects and maturity to deal with people from all walk of life.

There are people always better than us out there. Relax man.
 
Thanks to Andy Nguyen

Frank, can you do this for me
Open Dev-C++, Tools ->Compiler Options
On the first bar, Compiler, check on Add the following commands when calling compiler and then type -g3 -gstabs into the window below that box. Remember you have to check (tick) that choice. Now click Ok.
You should compile and build your code again. This time, it should have the debugging info.

I must boost this post! I have the same problem as frankm1342, and solved it following the discussions up to this post. It worked out! thanks ANdy!

I noticed of some other compiling issues using dev-C++, e.g., being unable to find reference for a defined function. Through multiple tries, they simply disappeared without clue why, which makes me happy but also "pain", as I don't know how to solve those type of problems if I meet them in the future. But, this is a great place to look for!
 
When I try to use the debugger in Dev C++ it always says "your project does not have debugging info, do you want to enable debugging and rebuild your project?" - so I hit yes, it compiles and then it doesn't seem to do anything. I want to debug such that I can step through each line and see how things change.

Anybody using Dev C++ again? :O The last time it was used is sometime in 19th century :D
 
Back
Top