Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Restarting debug sessions fails
Restarting debug sessions fails [message #211286] Fri, 07 March 2008 10:31 Go to next message
Eclipse UserFriend
Originally posted by: jonas.gaisler.com

Hi,

I have implemented a debugger derived from GDBServerCDIDebugger2

I have a problem with the restart action in the debug view.

Clicking it gives the error message:
"Don't know how to run. Try 'help target'"

Which comes from the fact that it's assumed it's enough to execute
"-exec-run" to restart.

Since we are connecting to a remote target I think we would need
something like the sequence:
target extended-remote host:port
load
run

The problem is in the class
org.eclipse.cdt.debug.mi.core.cdi.model.Target
function restart() around line 449

I've also failed to disable this button since there seems to be no easy
way to do it.

What would be the recommended way to either fix the restart or disable
it completely?

Thankful for any suggestions!

With regards

--
Jonas Flodén
Gaisler Research AB
jonas@gaisler.com
http://www.gaisler.com/
Re: Restarting debug sessions fails [message #211444 is a reply to message #211286] Sun, 09 March 2008 18:26 Go to previous message
Eclipse UserFriend
Jonas Flodén wrote:

> Hi,

> I have implemented a debugger derived from GDBServerCDIDebugger2

Is it necessary to use GDBServerCDIDebugger2?
Beginning with Eclipse I had problems with it too. After selecting gdb
Debugger it was ok.

Nikosch
Previous Topic:debug session crashes
Next Topic:undefined reference to `WinMain@16'
Goto Forum:
  


Current Time: Sun Jun 08 11:28:27 EDT 2025

Powered by FUDForum. Page generated in 0.04995 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top