Home › Forums › Mastering STM32 book support forum › A problem with the eclipse debugger
- This topic has 7 replies, 2 voices, and was last updated 8 years, 3 months ago by nike9307.
-
AuthorPosts
-
August 6, 2016 at 1:27 pm #3671nike9307Participant
Hi.
Ever since i got OpenOCD working, i’ve had a small, but sometimes very annoying problem with Eclipse.
When i open a debugging session, a tab with some random name (in this case 0x8001e94) appears with my files. This can get somewhat problematic because that name can get really long and take a lot of space.
It may have something to do with the{No source file named C:\STM32Toolchain\projects\STM32F103NEW\src\main.c.}
error in the console. That was a project that existed before i got OpenOCD to run properly.
It’s something i can live with, but it would be nice if it were gone 🙂
Attachments:
You must be logged in to view attached files.August 10, 2016 at 10:33 pm #3692Carmine NovielloKeymasterHi,
Try this (if you still haven’t found a solution):– Go inside the workspace directory (e.g. C:\STM32Toolchain\projects).
– Then enter inside the .metadata/.plugins/org.eclipse.e4.workbench subfolder (you may need a better terminal emulator, like conemu)
– Open the file workbench.xmi and look for that memory address (0x800e00).
– Delete the corresponding “” tag and all subtags. If you don’t have the right experience with XML, then I suggest to delete the workbench.xmi file.
Let me know if this helps.
August 11, 2016 at 6:22 pm #3710nike9307ParticipantHello,
I don’t know a lot about XML, so i just deleted the file (well i moved it to the desktop, just to be sure). And it worked like a charm – it fixed the 0x8001e94 thing. If anyone wants to try this – keep in mind that it did reset all the settings for my debugging windows, so take a picture of your setup before you do it.
The “No source file named …” is still present, but i don’t pay attention to that one. I just mentioned just in case they are connected in some way.
Thank you for the help. Its is much appreciated.August 13, 2016 at 8:36 pm #3757nike9307ParticipantSorry to bother you again, but the problem still exists. This time it is a long one. I can’t see any obvious reason for this .
Attachments:
You must be logged in to view attached files.August 16, 2016 at 7:34 am #3787Carmine NovielloKeymasterAre you using an RTOS or something like that?
August 18, 2016 at 7:01 pm #3816nike9307ParticipantNo i haven’t gotten around to messing with RTOS yet.
August 23, 2016 at 7:44 am #3836Carmine NovielloKeymasterI’ve updated my toolchain to the latest available packages (Neon and CDT 8.8) and the problem popped out also in my case. I suspect that this is a bug connected with Eclipse/CDT toolchain, or something related to the support to GDB. However, in my case is sufficient to close that debug view.
I noticed that the problem arises when OpenOCD is not running or it isn’t ready to accept commands from GDB.
August 23, 2016 at 12:40 pm #3843nike9307ParticipantIn that case i hope they fix it soon. Thank you for the help 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.