[GH-ISSUE #14] [Question] Development builds and tests #13

Closed
opened 2026-02-25 21:32:28 +03:00 by kerem · 1 comment
Owner

Originally created by @vnl on GitHub (Jul 18, 2017).
Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/14

Originally assigned to: @clechasseur on GitHub.

Hello Charles,
I followed: https://pathcopycopy.codeplex.com/wikipage?title=Developer&referringTitle=Documentation
To an extent it is very well explained. I wanted to help out with few of the issues here. To be honest I use Qt and so it kind of helps. So this would be the first C++ project outside using the library.

My question is, I wanted to find out how to debug the application. Sorry about the novice question.

I know this is not a typical GUI application and this is why I wanted some help if you have the time. Also, I do a lot of work with C# so C++ is a little harder lol.

Originally created by @vnl on GitHub (Jul 18, 2017). Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/14 Originally assigned to: @clechasseur on GitHub. Hello Charles, I followed: https://pathcopycopy.codeplex.com/wikipage?title=Developer&referringTitle=Documentation To an extent it is very well explained. I wanted to help out with few of the issues here. To be honest I use Qt and so it kind of helps. So this would be the first C++ project outside using the library. My question is, I wanted to find out how to debug the application. Sorry about the novice question. I know this is not a typical GUI application and this is why I wanted some help if you have the time. Also, I do a lot of work with C# so C++ is a little harder lol.
kerem 2026-02-25 21:32:28 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@clechasseur commented on GitHub (Jul 18, 2017):

The Settings application is the easiest to debug of course, simply launching it from the debugger will do. I suggest adding /frompcc to the command-line arguments, to avoid launching a revise attempt every debugging session.

To debug the contextual menu extension (PathCopyCopy project), you'll either need to hook to explorer.exe once the DLL is loaded or use an alternate explorer program. As a helper, I included one named mtExplorer in the testing directory. Set it as the program to launch in the debugger, then set breakpoints and hope for the best. Note that mtExplorer is a 32-bit application, so you'll need to compile PathCopyCopy in Debug/Win32 configuration.

Hope this helps. If you have more questions, don't hesitate to ask.

<!-- gh-comment-id:316111484 --> @clechasseur commented on GitHub (Jul 18, 2017): The Settings application is the easiest to debug of course, simply launching it from the debugger will do. I suggest adding `/frompcc` to the command-line arguments, to avoid launching a revise attempt every debugging session. To debug the contextual menu extension (PathCopyCopy project), you'll either need to hook to explorer.exe once the DLL is loaded or use an alternate explorer program. As a helper, I included one named mtExplorer in the `testing` directory. Set it as the program to launch in the debugger, then set breakpoints and hope for the best. Note that mtExplorer is a 32-bit application, so you'll need to compile PathCopyCopy in Debug/Win32 configuration. Hope this helps. If you have more questions, don't hesitate to ask.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pathcopycopy#13
No description provided.