January 26, 2006
Hi,

I hacked phobos.lib. Now it dump backtrace when D exception occured.

http://shinh.skr.jp/d/backtrace.tgz

How to use is in README in the archive.

FYI.

------------------
 shinichiro.h
  hamaji _at_ nii.ac.jp
  http://shinh.skr.jp/
January 26, 2006
shinichiro.h wrote:
> Hi,
> 
> I hacked phobos.lib. Now it dump backtrace when D exception occured.
> 
> http://shinh.skr.jp/d/backtrace.tgz
> 
> How to use is in README in the archive.
> 
> FYI.

Wow man, this is excellent ! Thanks :) The README file in the archive is empty, but I've managed to install the 'hack' without any problems.
It could be even better if the stack trace included the classname of the exception and its toString value.

PS. The ng server somehow ate my first reply which I made like 2h ago :(


-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d-pu s+: a-->----- C+++$>++++ UL P+ L+ E--- W++ N++ o? K? w++ !O !M V? PS- PE- Y PGP t 5 X? R tv-- b DI- D+ G e>+++ h>++ !r !y
------END GEEK CODE BLOCK------

Tomasz Stachowiak  /+ a.k.a. h3r3tic +/
January 26, 2006
> The README file in the archive is empty,

oops!

> It could be even better if the stack trace included the classname of the exception and its toString value.

Thanks to your report and suggestion. I updated the package:

http://shinh.skr.jp/d/backtrace.tgz

Now it includes the correct README, and phobos.lib outputs the classname of the exception and its toString value.
January 26, 2006
This sounds great.

Can you perhaps post it in a zip file also, please? Zip is having a hard time opening that particular file.



"shinichiro.h" <s31552@mail.ecc.u-tokyo.ac.jp> wrote in message news:20060127043240.0e82a1d0.s31552@mail.ecc.u-tokyo.ac.jp...
>> The README file in the archive is empty,
>
> oops!
>
>> It could be even better if the stack trace included the classname of the exception and its toString value.
>
> Thanks to your report and suggestion. I updated the package:
>
> http://shinh.skr.jp/d/backtrace.tgz
>
> Now it includes the correct README, and phobos.lib outputs the classname of the exception and its toString value.


January 26, 2006
> Can you perhaps post it in a zip file also, please? Zip is having a hard time opening that particular file.

I uploaded in zip format. Is this ok?

http://shinh.skr.jp/d/backtrace.zip
January 26, 2006
thanks!


"shinichiro.h" <s31552@mail.ecc.u-tokyo.ac.jp> wrote in message news:20060127052704.57e6b5ef.s31552@mail.ecc.u-tokyo.ac.jp...
>> Can you perhaps post it in a zip file also, please? Zip is having a hard time opening that particular file.
>
> I uploaded in zip format. Is this ok?
>
> http://shinh.skr.jp/d/backtrace.zip


January 26, 2006
"Kris" <fu@bar.com> wrote in message news:drbbtv$1v5b$1@digitaldaemon.com...
> thanks!
>
>
> "shinichiro.h" <s31552@mail.ecc.u-tokyo.ac.jp> wrote in message news:20060127052704.57e6b5ef.s31552@mail.ecc.u-tokyo.ac.jp...
>>> Can you perhaps post it in a zip file also, please? Zip is having a hard time opening that particular file.
>>
>> I uploaded in zip format. Is this ok?
>>
>> http://shinh.skr.jp/d/backtrace.zip

This is sweet.  This is even sweeter since VS doesn't break to the correct line on an access violation.

Woot!


January 26, 2006
shinichiro.h wrote:
> Thanks to your report and suggestion. I updated the package:
> 
> http://shinh.skr.jp/d/backtrace.tgz
> 
> Now it includes the correct README, and phobos.lib outputs
> the classname of the exception and its toString value.

Great ! Thanks a lot :D


Kris wrote:
> This sounds great.
> 
> Can you perhaps post it in a zip file also, please? Zip is having a hard time opening that particular file.

That's probably because the file is actually a TAR-GZ archive. Changing the extension to .tar.gz worked for me.


-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d-pu s+: a-->----- C+++$>++++ UL P+ L+ E--- W++ N++ o? K? w++ !O !M V? PS- PE- Y PGP t 5 X? R tv-- b DI- D+ G e>+++ h>++ !r !y
------END GEEK CODE BLOCK------

Tomasz Stachowiak  /+ a.k.a. h3r3tic +/
January 29, 2006
"shinichiro.h" <s31552@mail.ecc.u-tokyo.ac.jp> wrote in message news:20060126181754.28e296cf.s31552@mail.ecc.u-tokyo.ac.jp...
> Hi,
>
> I hacked phobos.lib. Now it dump backtrace when D exception occured.
>
> http://shinh.skr.jp/d/backtrace.tgz
>
> How to use is in README in the archive.
>
> FYI.

This is nice work. But I need to know what license you're using for it? See www.digitalmars.com/d/contributions.html


February 05, 2006
Hi,

> > I hacked phobos.lib. Now it dump backtrace when D exception occured.
> >
> > http://shinh.skr.jp/d/backtrace.tgz
> >
> > How to use is in README in the archive.
> >
> > FYI.
> 
> This is nice work. But I need to know what license you're using for it? See www.digitalmars.com/d/contributions.html

As same as phobos'es. I guess it is hard to use this work since the source code is complicated. But I'll be very glad if the work becomes a part of D language.

P.S. I'm sorry for late reply.

------------------
 shinichiro.h
  hamaji _at_ nii.ac.jp
  http://shinh.skr.jp/
« First   ‹ Prev
1 2
Top | Discussion index | About this forum | D home