Giter Site home page Giter Site logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Aras, I don't have an OSX/Intel system, so I've never compiled/run the code on 
it,
and to be honest most of the code in Debug.{h,cpp} has only been tested on my 
main
development platform.

In any case, it would be nice to fix that so that it works on OSX and other Unix
flavors too. Your patch seems to indicate that the sigcontext structure on 
darwin
does not contain the EIP pointer, but the code still uses it a few lines later. 
I'll
assume that you missed that and comment it out too. However, backtrace won't 
work
properly when called from a signal handler if the instruction pointer of the 
caller
is not set properly.

Here's a nice code snippet that shows how to do it in different Unix systems:

http://www.miriamruiz.es/weblog/?p=14

I've been looking how to do the same on OSX/Intel, but I haven't found 
anything. I'm
sure that somebody at OTEE knows how to do it. Could you find that out?

Thanks!

Original comment by [email protected] on 29 May 2007 at 9:21

from nvidia-texture-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
I've integrated your patch in revision 31, and added support for correct stack 
traces
in some other platforms. OSX is still not supported, thought. Please, change the
status to verified if it works for you.

Original comment by [email protected] on 29 May 2007 at 9:51

  • Changed state: Fixed

from nvidia-texture-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
It builds now. Didn't try whether it does the correct thing in case of a crash 
though. I can't find where I can mark 
the bug as "verified", so I'll just leave it as it is.

As for OS X exception handling code, for the editor we use ObjectiveC specific 
stuff (NSException etc.). I think I 
saw some more useable code in Mono to walk the stack on different platforms.

Original comment by [email protected] on 29 May 2007 at 10:27

from nvidia-texture-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
It's in the status box below the bug summary. It might only be available to 
project
managers. I finally found how to get the instruction pointer on OSX and added 
code
for that. It seems to work on PPC, so I hope it does work on x86 too. I'm 
closing
this now.

Original comment by [email protected] on 29 May 2007 at 11:03

  • Changed state: Verified

from nvidia-texture-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.