#4023 closed defect (fixed)
Algorithmic debugger does not work under Windows
Reported by: | Rüdiger Franke | Owned by: | somebody |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | *unknown* | Version: | v1.10.0-dev-nightly |
Keywords: | Cc: |
Description (last modified by )
Take any MyModel
and invoke the algorithmic debugger from OMEdit. The Output Browser says:
Process failed to start: No such file or directory GDB arguments are "-q -nw -i mi --args C:/Users/user/AppData/Local/Temp/OpenModelica/OMEdit/MyModel.exe"
Change History (8)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|---|
Priority: | high → blocker |
comment:2 by , 8 years ago
comment:3 by , 8 years ago
The gdb path is not hard coded. OMEdit reads it from settings file. You can set a new path in Tools->Options->Debugger->Algorithmic Debugger->GDB Path
.
I guess you have some old path with just mingw and then we recently changed from mingw to either mingw32 or mingw64. So you need to update your path.
comment:4 by , 8 years ago
Good point. Under Windows my GDB path points to:
C:/OpenModelica1.9.3Nightly//MinGW/bin/gdb.exe
This path dates more than a year and about 10 installations of newer versions of OpenModelica back. I never touched it.
Shouldn't this path be updated with each new installation of OpenModelica?
comment:5 by , 8 years ago
No. OMEdit settings file doesn't change with uninstall and install of OM.
The whole idea of having gdb path in settings is to allow users to use any GDB.
We could however update it in a way that we provide two radio buttons,
- Use default GDB.
- Provide GDB path.
In this way the default GDB path is selected by default and we can update it when OM version is updated.
If user explicitly set a GDB path then user is responsible to updating the path between different versions.
comment:6 by , 8 years ago
You might also say that the default path is used if the setting is left empty. An empty setting can be conserved between different versions of OpenModelica.
comment:7 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I did as you proposed in comment:6. See ff69236/OMEdit.
I'm seeing this, too (in fact, a post-it telling me to report it sits on my desk somewhere :P).