Recent Posts

Pages: 1 2 [3] 4 5 6 7 8 ... 10
21
Plugins development / Re: Debugger_gdbmi plugin
« Last post by Pecan on May 03, 2026, 06:57:38 pm »
Code
[debug]ActionsMap::Run -> starting action: 0000000011aa5f50 id: 21
[debug]cmd==>210000000000-var-update 1 *
[debug]output==>210000000000^done,changelist=[{name="var5",value="std::vector of length 5, capacity 5",in_scope="true",type_changed="false",new_num_children="5",displayhint="array",dynamic="1",has_more="0"}]
[debug]cmd==>210000000001-var-list-children 2 "var5"
[debug]unparsable_output==>(gdb)
[debug]output==>210000000001^done,numchild="5",displayhint="array",children=[child={name="var5.[0]",exp="[0]",numchild="0",value="1",type="int"},child={name="var5.[1]",exp="[1]",numchild="0",value="2",type="int"},child={name="var5.[2]",exp="[2]",numchild="0",value="3",type="int"},child={name="var5.[3]",exp="[3]",numchild="0",value="4",type="int"},child={name="var5.[4]",exp="[4]",numchild="0",value="5",type="int"}],has_more="0"
[debug]unparsable_output==>(gdb)


question:

Is the "unparsable_output" correct? See the above log.

Yes. It's ok. It's left over from code inherited from the original CodeBlocks debugger plugin.
I seem to remember that I tried to eliminate it, but removing it just caused a whole bunch of problems.

The original debugger code set that line as the prompt to be sent back from from gdb.
On some commands to gdb, there is original plugin code that waits for multiple responses to be returned to CodeBlocks; debugger plugin goes idle before sending any more commands. The idle condition is keyed to that prompt to indicate the end of any more responses and clears the idle condition.

Since the original debugger code and prompt mechanism worked with debugger_gdbmi (and caused problems without it), I got lazy and just left it for now.

I'll put this in the "revisit latter" ToDo queue. I'd also like to eliminate it if I can.

22
Plugins development / Re: Debugger_gdbmi plugin
« Last post by ollydbg on May 03, 2026, 05:09:52 pm »
Code
[debug]ActionsMap::Run -> starting action: 0000000011aa5f50 id: 21
[debug]cmd==>210000000000-var-update 1 *
[debug]output==>210000000000^done,changelist=[{name="var5",value="std::vector of length 5, capacity 5",in_scope="true",type_changed="false",new_num_children="5",displayhint="array",dynamic="1",has_more="0"}]
[debug]cmd==>210000000001-var-list-children 2 "var5"
[debug]unparsable_output==>(gdb)
[debug]output==>210000000001^done,numchild="5",displayhint="array",children=[child={name="var5.[0]",exp="[0]",numchild="0",value="1",type="int"},child={name="var5.[1]",exp="[1]",numchild="0",value="2",type="int"},child={name="var5.[2]",exp="[2]",numchild="0",value="3",type="int"},child={name="var5.[3]",exp="[3]",numchild="0",value="4",type="int"},child={name="var5.[4]",exp="[4]",numchild="0",value="5",type="int"}],has_more="0"
[debug]unparsable_output==>(gdb)


question:

Is the "unparsable_output" correct? See the above log.
23
Help / Re: debugger_gdbmi
« Last post by Frank_CB on May 03, 2026, 08:33:54 am »
@Pecan:
What value would you assign to cb_plugin ?
24
Plugins development / Re: Small problem in DragScroll_Windows.cbp
« Last post by jggimi on May 03, 2026, 06:01:04 am »
13840 resolved my problem.  Thanks!!
25
Plugins development / Re: Small problem in DragScroll_Windows.cbp
« Last post by Pecan on May 02, 2026, 11:17:50 pm »
also on linux things seem to be broken:

make[4]: *** No rule to make target 'manifest.xml', needed by 'dragscroll.zip'.  Stop.

Fixed svn 13840
26
Help / Re: debugger_gdbmi
« Last post by Pecan on May 02, 2026, 07:17:14 pm »
I have create a PR add Windows.cbp file by asmwarrior Pull Request #1 pecanh/debugger_gdbmi for your repo.

I extracted the changes from your PR and added them manually, Thanks.
It does not appear that the .wxs file is needed. I don't find it anywhere in the whole of CodeBlocks.
That .wxs line may be left over from the original codeCompletion .cbp that I copied.

27
Plugins development / Re: Small problem in DragScroll_Windows.cbp
« Last post by killerbot on May 02, 2026, 06:14:37 pm »
also on linux things seem to be broken:

make[4]: *** No rule to make target 'manifest.xml', needed by 'dragscroll.zip'.  Stop.
28
Plugins development / Re: Small problem in DragScroll_Windows.cbp
« Last post by gd_on on May 02, 2026, 06:10:19 pm »
Thanks.
But, not sure that this fix the problem encountered by jggimi. He uses a makefile process I suppose, and the path to manifest.xml is not found, if I understand well.
29
Plugins development / Re: Small problem in DragScroll_Windows.cbp
« Last post by Pecan on May 02, 2026, 05:55:05 pm »
Fixed svn rev 13839.
30
Plugins development / Re: Small problem in DragScroll_Windows.cbp
« Last post by jggimi on May 02, 2026, 03:46:29 pm »
On my OS (OpenBSD), 13838 won't build dragscroll from source: it doesn't know how to build manifest.xml.  Not sure why.

Code
Making all in appdata
Making all in dragscroll
make: don't know how to make manifest.xml (prerequisite of: dragscroll.zip)
Stop in src/plugins/contrib/dragscroll
*** Error 1 in src/plugins/contrib (Makefile:658 'all-recursive')
Pages: 1 2 [3] 4 5 6 7 8 ... 10