Am 19.09.2013 15:21, schrieb Graeme Geldenhuys:
> Hi Martin,
>
> Continuing from my Lazarus mailing list discussion. I'm trying to use
> MSEide to attach to a running CGI process, so I can debug the CGI app.
> The CGI app has 3 threads, and it seems once I attach to the process,
> GDB always selects the last thread [this happens in Lazarus IDE too].
> eg: thread 3, but what I want to debug is in the main thread, thread 1.
>
> I thought I could switch threads using the Threads debug window, but it
> doesn't display any information. It is a blank window - not even the
> main thread is display??
>
It shows information in stopped state only. Is the target stopped? I am 
currently testing "attach process" with MSEide on Windows, it seems to 
be broken with the installed gdb (as usual after one or two gdb 
versions). ;-)
For me it shows "running" after attach process which is wrong, I am 
investigating.

> MSEide also doesn't have a way for the developer to inject GDB commands
> manually. This could be very handy, and in my case I would simply have
> run 'thread 1' and hopefully the IDE catches up.
>
Difficult. Normally threads can be switched by clicking in the rows of 
the thread window. Variables can be changed by entering the new value in 
the "Result" column of the watches window. Register values can be 
changed in the CPU window.

Martin

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to