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

Provide Project File #1909

Closed
skl131313 opened this issue Feb 28, 2018 · 10 comments
Closed

Provide Project File #1909

skl131313 opened this issue Feb 28, 2018 · 10 comments

Comments

@skl131313
Copy link

Provide some sort of project file system. So that targets and settings don't have to be constantly re-entered manually.

Also don't close/clear the debugger when the program has finished executing.

@mrexodia
Copy link
Member

There is a settings file and databases per debuggee.

@skl131313
Copy link
Author

Any documentation on where to find and use it? I can't find anything about this feature. Nothing like for other programs File->open project.

Also:

Also don't close/clear the debugger when the program has finished executing.

@mrexodia
Copy link
Member

mrexodia commented Mar 2, 2018

Databases are saved and loaded automatically, you don’t have to do anything.

@skl131313
Copy link
Author

It doesn't keep the working directory and arguments I passed to an executable though, when I reopen it for debugging.

@mrexodia
Copy link
Member

mrexodia commented Mar 2, 2018

Your first issue is a duplicate of #1874
The second thing you mention is a duplicate of #498

When you created this issue you should have seen:

Before submitting an issue, make sure it has not already been reported.

@mrexodia
Copy link
Member

mrexodia commented Mar 2, 2018

As a solution in the meantime you can construct the command that launches your application with the desired command line and working directory and add it as a favourite:

InitDebug "C:\program.exe", "-argument -argument", "C:\workingdir"

@x64dbg x64dbg deleted a comment from arco123 Mar 2, 2018
@x64dbg x64dbg deleted a comment from adsontag Mar 2, 2018
@skl131313
Copy link
Author

That first issue only refers to command line arguments, that can be achieved by an implementation that doesn't use a project file. A project file can store a lot more information than just the command line arguments. It isn't exactly a duplicate.

I did search, I didn't find anything with the keywords I used.

@mrexodia
Copy link
Member

mrexodia commented Mar 2, 2018

So what would be stored in a project file? You mention command line, that is stored (minus that issue). Currently the databases store your labels comments breakpoints, what else do you want? The databases (similar to ida idb) are stored in the “db” folder

@skl131313
Copy link
Author

The database file can be stored in/with the project file. Some people may want to use the same database for the same executable, like I do for a few projects. Program settings that are only applied for that specific project file. Sounds like database is basically what the project file is, just need to change it so it isn't hidden from the user in such a manner as it currently is.

@x64dbg x64dbg deleted a comment Mar 2, 2018
@mrexodia
Copy link
Member

mrexodia commented Mar 2, 2018

You can import/export the database from the file menu if you want to share it with your peers (or just copy the relevant file from the db folder).

As for program settings, I assume you mean the x64dbg options (x64dbg.ini)? This you can also share with your peers (in fact the whole x64dbg directory is portable, nothing is hidden).

The plugin system is more than rich enough to implement a more advanced system that suits your needs better...

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