Quick question I’ve been asked: is there are free IDE using g++ that provides a CPU view (i.e. to review register
contents and machine instructions) during debug sessions?
On 2013-11-19, flymail <flymail@no-mx.forums.opensuse.org> wrote:
> Quick question I’ve been asked: is there are free IDE using g++ that provides a CPU view (i.e. to review register
> contents and machine instructions) during debug sessions?
… I guess not…
Surprising though, and a serious omission IMO.
flymail wrote:
> On 2013-11-19, flymail <flymail@no-mx.forums.opensuse.org> wrote:
>> Quick question I’ve been asked: is there are free IDE using g++ that provides a CPU view (i.e. to review register
>> contents and machine instructions) during debug sessions?
>
> … I guess not…
>
> Surprising though, and a serious omission IMO.
Sorry, I’m just guessing but doesn’t GDB do this? So isn’t it a question
of how well that is integrated with your IDE and/or how much of a
non-quiche eating real man you are to run it separately?
On 2013-11-21, Dave Howorth <djh-novell@no-mx.forums.opensuse.org> wrote:
> Sorry, I’m just guessing but doesn’t GDB do this?
Yes, but it’s console only. I’ve been asked if there’s an IDE that provides the same information during debugging
sessions. From the responses, I’m guessing not.
> So isn’t it a question
> of how well that is integrated with your IDE and/or how much of a
> non-quiche eating real man you are to run it separately?
Quiche? Yuk!
flymail, maybe this wikipedia article will answer your question. Comparison of integrated development environments - Wikipedia, the free encyclopedia
On 2013-11-21, Jonathan R <Jonathan_R@no-mx.forums.opensuse.org> wrote:
>
> flymail, maybe this wikipedia article will answer your question.
> ‘Comparison of integrated development environments - Wikipedia, the free
> encyclopedia’ (http://tinyurl.com/2hn7cp)
Thanks for the link. It was the first place I looked I’m afraid…
On 2013-11-22 11:41, flymail wrote:
> On 2013-11-21, Jonathan R <Jonathan_R@no-mx.forums.opensuse.org> wrote:
>>
>> flymail, maybe this wikipedia article will answer your question.
>> ‘Comparison of integrated development environments - Wikipedia, the free
>> encyclopedia’ (http://tinyurl.com/2hn7cp)
>
> Thanks for the link. It was the first place I looked I’m afraid…
The Lazarus IDE has an integrated debugger, aparently. You can run up to
a certain source line, step into, step over… watch variables, add
breakpoints… You can view register (CPU?), assembler…
I have not tested all those features (only some), but they seem to be
what I would expect.
However, it is not C. It is pascal.
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
On 2013-11-22, Carlos E. R. <robin_listas@no-mx.forums.opensuse.org> wrote:
> The Lazarus IDE has an integrated debugger, aparently. You can run up to
> a certain source line, step into, step over… watch variables, add
> breakpoints… You can view register (CPU?), assembler…
<SNIP>
> However, it is not C. It is pascal.
It appears its C++ counterpart Code::Blocks does the job. Thank you.
flymail wrote:
> On 2013-11-22, Carlos E. R. <robin_listas@no-mx.forums.opensuse.org> wrote:
>> The Lazarus IDE has an integrated debugger, aparently. You can run up to
>> a certain source line, step into, step over… watch variables, add
>> breakpoints… You can view register (CPU?), assembler…
> <SNIP>
>> However, it is not C. It is pascal.
>
> It appears its C++ counterpart Code::Blocks does the job. Thank you.
And apparently it does so using GDB, which just led me to:
http://en.wikipedia.org/wiki/GNU_Debugger#Graphical_user_interface
IDEs such as Codelite, Code::Blocks, Dev-C++, GNAT Programming Studio
(GPS), KDevelop, Qt Creator, Lazarus, MonoDevelop, Eclipse, NetBeans and
VisualStudio (see VS AddIn Gallery) can interface with GDB. GNU Emacs
has a “GUD mode” and several tools for VIM exist. These offer facilities
similar to debuggers found in IDEs.
Good to see that the correct answer is vi!
On 11/22/2013 07:18 AM, Dave Howorth wrote:
> flymail wrote:
>> On 2013-11-22, Carlos E. R. <robin_listas@no-mx.forums.opensuse.org> wrote:
>>> The Lazarus IDE has an integrated debugger, aparently. You can run up to
>>> a certain source line, step into, step over… watch variables, add
>>> breakpoints… You can view register (CPU?), assembler…
>> <SNIP>
>>> However, it is not C. It is pascal.
>>
>> It appears its C++ counterpart Code::Blocks does the job. Thank you.
>
> And apparently it does so using GDB, which just led me to:
>
> http://en.wikipedia.org/wiki/GNU_Debugger#Graphical_user_interface
>
> IDEs such as Codelite, Code::Blocks, Dev-C++, GNAT Programming Studio
> (GPS), KDevelop, Qt Creator, Lazarus, MonoDevelop, Eclipse, NetBeans and
> VisualStudio (see VS AddIn Gallery) can interface with GDB. GNU Emacs
> has a “GUD mode” and several tools for VIM exist. These offer facilities
> similar to debuggers found in IDEs.
>
> Good to see that the correct answer is vi!
Have you looked at ddd or kdbg? They are both graphical debuggers that
can show register information.
Hope that helps.
Eric
On 2013-11-24, Eric <eriic1@cox.net> wrote:
> Have you looked at ddd or kdbg? They are both graphical debuggers that
> can show register information.
>
> Hope that helps.
>
> Eric
Thanks Eric. I’ll suggest those aswell.