Discussion:
Debugging
(too old to reply)
Wilton Helm
2014-11-17 19:21:53 UTC
Permalink
Raw Message
Back about version 1.3 or 1.4 I created a modified ide.cfg and related files
for embedded development using the IDE. Because they were relatively
specific to my applicaiton, I didn't put them into the OW tree. I have
shared them with a couple of people that were interested. I also created
some debugging trap files specific to these processors.

One of the problems with this is that the IDE and its config files do change
over time, and every time I upgrade to a new release, I have to look at the
config file and identify the changes and add in the extra lines needed for
my targets, modifying them to account for any structural changes that were
made.

Well I recently updated things to version 1.9 and have one problem I can't
sort out. It may be related to the fact that 1.9 seems to have separated
Debugging and Remote debugging. My targets technically are in the latter
category, although I don't generally think of them in that way, because the
target system has no file system or OS. Part of the trap functionality is
in the .dll I created for the host which then communicates with the target
hardware over some physical link. But everything like file loading is still
on the host side.

Anyway, I'm hoping someone involved in the changes can guide me in the right
direction. I finally got the right stuff in place where "Debug Options" now
appears on the Options menu, but clicking on either Remote or Local Debug
results in an error window that says, "You cannot (local/remote) debug
'<file>". I suspect a single line in ide.cfg would fix it, but I can't
figure out what it would be. I've compared it to other platforms and
targets and I don't see any added code for them that isn't present for mine.



---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
Wilton Helm
2014-11-18 15:46:18 UTC
Permalink
Raw Message
P.S.: I subsequently found that by doing Action/Debug or ctrl-D I can bring
up the debugger, so the problem is related to linking to the debug icons.



---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
Wilton Helm
2014-12-12 00:26:58 UTC
Permalink
Raw Message
I posted this about the time the server went down and didn't get a reply, so
I will try to refreseh my request.

Version 1.9 of the IDE has two Debug Icons, Debug local and Debug remote.
That change broke a custom IDE config that I use, and I can't figure out
why. Interestingly enough, Target/Debug still works (and doesn't
differentiate between local and remote) and likewise its keyboard shortcut
ctrl-D.

I presume there must be some mapping between the icons and something in
IDE.cfg, but I can't figure out what it is.

Would the perso who made the change please enlighten me so I can
appropriately update my modified IDE.cfg?

Thanks,
Wilton
Jiri Malak
2014-12-12 16:32:56 UTC
Permalink
Raw Message
Hi Wilton,

You must check definition of "ToolItem" for debugging. 4-th field is name of action,
which must be defined somewhere in configuration file only ones.

For local debugging it is "Local &Debug" - shortcut is ctrl-D
for remote debugging it is "Remote D&ebug" - shortcut is ctrl-E

Check appropriate action name in configuration file, because this name is key for link
between button and action.

Jiri
Post by Wilton Helm
I posted this about the time the server went down and didn't get a reply,
so I will try to refreseh my request.
Version 1.9 of the IDE has two Debug Icons, Debug local and Debug remote.
That change broke a custom IDE config that I use, and I can't figure out
why. Interestingly enough, Target/Debug still works (and doesn't
differentiate between local and remote) and likewise its keyboard shortcut
ctrl-D.
I presume there must be some mapping between the icons and something in
IDE.cfg, but I can't figure out what it is.
Would the perso who made the change please enlighten me so I can
appropriately update my modified IDE.cfg?
Thanks,
Wilton
Wilton Helm
2014-12-23 00:41:34 UTC
Permalink
Raw Message
Thanks, that is what I needed to know. I had an rule for hex with an action
item &Debug, which didn't match ToolItem 1005 "Local &Debug" or 1014 "Remote
D&ebug".
Wilton
Post by Jiri Malak
Hi Wilton,
You must check definition of "ToolItem" for debugging. 4-th field is name of action,
which must be defined somewhere in configuration file only ones.
For local debugging it is "Local &Debug" - shortcut is ctrl-D
for remote debugging it is "Remote D&ebug" - shortcut is ctrl-E
Check appropriate action name in configuration file, because this name is key for link
between button and action.
Jiri
Post by Wilton Helm
I posted this about the time the server went down and didn't get a reply,
so I will try to refreseh my request.
Version 1.9 of the IDE has two Debug Icons, Debug local and Debug remote.
That change broke a custom IDE config that I use, and I can't figure out
why. Interestingly enough, Target/Debug still works (and doesn't
differentiate between local and remote) and likewise its keyboard shortcut
ctrl-D.
I presume there must be some mapping between the icons and something in
IDE.cfg, but I can't figure out what it is.
Would the perso who made the change please enlighten me so I can
appropriately update my modified IDE.cfg?
Thanks,
Wilton
Loading...