While in debugging code, if I press F10 (Debug->Next), Codelite always steps into the function under the cursor, this behavior is just like Debug->Step Into.
I am using the latest 1.0.2304.
Does any have the same problem, or just me?
Debug->Next always step into function?
-
- CodeLite Enthusiast
- Posts: 16
- Joined: Fri Jul 04, 2008 10:46 am
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Debug->Next always step into function?
Just youcount0 wrote:Does any have the same problem, or just me?
Which OS?
Which application? simple C++, wxWidgets etc.
Check keyboard bindings (settings -> keyboard shortcuts...)
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 16
- Joined: Fri Jul 04, 2008 10:46 am
- Contact:
Re: Debug->Next always step into function?
Oh, I am using Windows XP with SP3. And I just check the shortcuts setting, it looks OK.
It is same with big application like mplayer or just a simple "Hello Wold" plus a simple function.
It is same with big application like mplayer or just a simple "Hello Wold" plus a simple function.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Debug->Next always step into function?
Which version of debugger are u using?
Eran
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 16
- Joined: Fri Jul 04, 2008 10:46 am
- Contact:
Re: Debug->Next always step into function?
I am using the MinGW Gcc v4.2.1 and its debugger from wxPack:
http://wxpack.sourceforge.net/Main/Downloads
And I just tried the mingw3.4.5.exe you put on sourceforge, it works.
I switch to this dbg but use the compiler from above Gcc v4.2.1, the problem still exists.
Maybe it is related to compiler?
http://wxpack.sourceforge.net/Main/Downloads
And I just tried the mingw3.4.5.exe you put on sourceforge, it works.
I switch to this dbg but use the compiler from above Gcc v4.2.1, the problem still exists.
Maybe it is related to compiler?
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Debug->Next always step into function?
FYI: this is not a CodeLite issue, but gcc/gdb issue.
Now: I read somewhere that debugging with g++ 4.1, it is advised to compile with -gstab instead of -g, try adding this to your code in project settings -> compiler tab, 'options' entry
Perform a full rebuild and try it again.
Eran
Now: I read somewhere that debugging with g++ 4.1, it is advised to compile with -gstab instead of -g, try adding this to your code in project settings -> compiler tab, 'options' entry
Perform a full rebuild and try it again.
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 16
- Joined: Fri Jul 04, 2008 10:46 am
- Contact:
Re: Debug->Next always step into function?
Wow, change -g to -gstabs, problem solved.
Thanks.
Thanks.