Get the gdb addin from the MD beta channel

Morning everyone,

I’ve just been trying to fix this strict dependency issue with the gdb addin..so I just removed the direct project reference from the solution, and it works now. Btw, you can directly install Mono-D as well as the gdb addin on Linux & Mac directly in the addins beta channel:

Don’t rage silently when Mono-D hangs!

Seriously people,

There’s nothing worse than destructive criticism. Just noticing some Mono-D bugs and uninstalling it immediately because “it crashes too often” isn’t a help for anybody, not even for yourself! I can’t smell issues, so if something’s not correct, please go tell me either via blog comments, the issue tracker or in the IRC! Only then I’ll be able to at least notice issues or even bigger problems!

Tell me in what code and/or in what code location you were in, hand me an exception message, a stack trace dump, some info about your MonoDevelop/XamarinStudio version, your OS, or what you like else..even a small notice that there was ‘something’ when doing this or that is totally sufficient in many cases!

But please..communicate! That’s what the interwebz are made for! ;)

Cheers,
Alex

gdb on Linux (2)

Good afternoon everyone,
Couple of good news to all people seeking for D debugging support on Linux & Mac:
I went on with developing the new addin, and this screenshot shows how far I’ve gotten so far:

Credits don’t exclusively go to me but also to Ľudovít Lučenič!

Though this depiction gives a good taste of what the gdb wrapper will be able to do there are couple of known issues:

  • Forget playing around with mixins and things like that excessively. Mixin treatment is not implemented yet!
    - The debugger wrapper is based on the D_Parser engine for calculating the child items and address offsets that are used to examine children information. To come to a first result asap, I decided to skip analyzing object members too correct in the first place and to just take the rawly defined ones. 
  • I haven’t tested debugging C code yet – I gues it’ll mostly not work due to the D_Parser fact..but please feel free to test it anyway :)
  • Changing values at runtime isn’t possible yet.
  • Exceptions cannot be undone/bypassed yet — I guess I needed a little support concerning this feature.
  • Interface & deep struct member examination isn’t implemented yet!
  • There are resolution issues when the module/package and function you’re stepping in currently are called equally, like it’s the case when you have a file called ‘main.d’ and main() — then the analysis process tends to fail.

Notice: There’s a FAQ section now

Hi everyone,

Thanks to Randy there’s a FAQ section in this blog right now. So if there are questions rising up, leave a feedback and I’ll try to answer them + enter the answer to this section.

I’ve used the Arconix FAQ plugin for WordPress to realize the page.

Debugging with Gdb on Linux progess

Good afternoon everybody,

There’s some good news concerning the addin which brings better and D-specific debugging to MonoDevelop — Invoking an object’s toString() method has become possible again..I’ve also made couple of things easier, so there’s no manual reassembling and other hard circumstances required to inject the toString-examiner on different platforms anymore!

Have some screenshots:

gdb_dbg_toString1 gdb_dbg_toString2

Despite the lucky message of having some project activity again there are still way to many unstable and weak points which make real debugging with this addin quite difficult. So lean back, and await the new stuff! (..or come on contributing) :)

MonoDevelop 4.0.6 + Mono 3.0.11 for Linux

Guten Tag everyone,

I’ve just pulled, built, packaged and uploaded the latest monodevelop master version (which apparently is 4.0.6) to http://simendsjo.me/files/abothe – Thanks to simendsjo for letting me host the files there!

Mono-D works with this version, of course.

Cheers,
Alex

[UPDATE May 12] Updated to Mono 3.0.11

Mono 3.0.10 + MonoDevelop 4.0.4/master for Linux

MonoDevelop Screenshot May 2013

Download MonoDevelop master and Mono here!

Extract the mono directory into /opt/ and you’ll be able to start MonoDevelop via /opt/mono/bin/monodevelop!
(sudo tar -xPf MonoDevelop.x64.Master.tar.xz should do it)

I’ve tested it under Manjaro x64, x86 (an Arch derivative) and Mint 13 x86, so it should work under other distros either.

There shouldn’t be any further requirements than this archive. All the stuff except gtk-sharp2 has been built from master, so this build should be an absolutely fresh one!

EDIT: I’ve uploaded a new archive that has a library filename resolution issue fixed. For individual configurations, check the /opt/mono/bin/monodevelop startup script.

Regression bug fixes [v0.5.2.4]

Good morning again,

While trying to improve some things regarding parsing import statements, I’ve invented some null ref exceptions – which I fixed in this release.

Furthermore: This project is not dead yet! It just has become difficult for me to find some time for coding due to more intense tasks I’ve got to do for my studying..4th semester ain’t easy anymore :-/

Basic native Dub project support [v0.5.2.3]

Good morning everyone,

Though I released it a couple of days ago I’ll do a release note now:

I’ve added a ‘native’ support for Dub projects. You just have to open the package.json meta file that is located inside a D project’s folder in order to have it opened in Xamarin Studio / MonoDevelop – no need for creating an artificial .dproj/.sln file via dub anymore!

The support is currently very limited though – but you can build and execute projects with it. All build configuration has to be done in the package.json now; Currently there aren’t any control panels – and trying to edit a project’s settings will throw exceptions – but you also don’t have to configure it in MD anymore..

If the package.json got edited while the project is opened, it’ll reload the file automatically! No need to reopen it all the time!

Mono-D on addins.monodevelop.com again

Hi everyone,

During the Mono/XamarinStudio release ‘crisis’ on x86 Linuxes, I was noticed that the build routine on XamarinStudio’s internal addin releasing system works again for Mono-D for Linux and Mac platforms (only!) – which is a slight progress (again). Due to this you don’t have to enter the mono-d.alexanderbothe.com repo path manually into the addin manager but you can still access the latest build directly in the Beta-Addins channel.