Home » Community » Coffee corner » Upp and VisualStudio (Howto open Upp project in Visual Studio)
|
|
|
|
|
Re: Upp and VisualStudio [message #55448 is a reply to message #55444] |
Wed, 11 November 2020 16:37   |
 |
peterh
Messages: 108 Registered: November 2018 Location: Germany
|
Experienced Member |
|
|
If I type "devenv /debugexe hello.exe" from a console, then a new instance of devenv is invoked.
I dont know how TheIDE does it, if it opens a new instance of visual studio I would anyway not use it.
First I start Visual Studio (devenv.exe) and import the pdb file. So I have all symbols and sources loaded before I debug.
My program starts like this:
GUI_APP_MAIN
{
for(;!IsDebuggerPresent();) Sleep(10); // Wait for debugger to attach
DebugBreak(); // Stop at next line
SetLanguage(LNG_ENGLISH); // <- Program is here after Debugger was attached
HelloWorld().Run();
}
Then I start hello.exe and choose "debug" in taskmanager to attach it to the debugger.
This said, in most cases I use TheIDE standalone.
I intend to use VS only to view inheritance trees, search references to procedures , find implementation of operators, refactoring and more stuff what it can do or can do faster.
Mainly to analyze and understand unknown programs, not so much for selfwritten stuff.
For debugging it has an advantage, it can start and stop threads, in some rare cases this might help.
[Updated on: Wed, 11 November 2020 17:53] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Fri Apr 25 18:58:45 CEST 2025
Total time taken to generate the page: 0.02792 seconds
|