Giter VIP home page Giter VIP logo

Comments (3)

setton avatar setton commented on August 27, 2024

There is no way at the moment to specify the switches passed to the debugger... I would suggest fixing this at the GDB level rather than adding workarounds at the GPS level.

From an user's perspective, it should be possible to catch exceptons after doing an initial "start/begin" in the debugger, right?

from gnatstudio.

simonjwright avatar simonjwright commented on August 27, 2024

From an user's perspective, it should be possible to catch exceptons after doing an initial "start/begin" in the debugger, right?

No.

(gdb) start
Temporary breakpoint 1 at 0x100007338: file cxag001.adb, line 103.
Starting program: /Users/simon/ACATS/t/cxag001 
[New Thread 0x1403 of process 5479]
warning: unhandled dyld version (15)

Temporary breakpoint 1, _ada_cxag001 () at cxag001.adb:103
103	procedure CXAG001 is
(gdb) catch exception
Your Ada runtime appears to be missing some debugging information.
Cannot insert Ada exception catchpoint in this configuration.

So the alternative is to build a special version of GDB for macOS users that does -readnow without being asked.
Or maybe one could do some shell/path fudge (would be less work).

from gnatstudio.

setton avatar setton commented on August 27, 2024

@simonjwright, one "workaround" suggestion: you could create a "gdb" script which would be a simple wrapper to the real gdb, just invoking it with -readnow and the rest of the arguments, and then place this in front of your PATH - would this work for you?

from gnatstudio.

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.