Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup Script #34

Closed
davidrohr opened this issue Jan 24, 2018 · 2 comments
Closed

Startup Script #34

davidrohr opened this issue Jan 24, 2018 · 2 comments

Comments

@davidrohr
Copy link

I usually have a startup script for my application, which sets some environment variables, and perhaps does some cleanup in the working directory.
I cannot put that script as executable, since gdb could only debug bash than.
It would be nice if the configuration dialog (or the config file) could offer an option for a script to execute before starting the actual gdb session.

@ceremcem
Copy link

When do you need to run your cleanup_script? If it was right before starting the debugger, you can use gdbinit.

@davidrohr
Copy link
Author

Indeed, thanks for the idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants