dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] New debugger for Portable .NET


From: radek polak
Subject: [Pnet-developers] New debugger for Portable .NET
Date: Sun, 25 Jun 2006 23:01:07 +0200 (CEST)

Hello everybody!

As i have promised on IRC i am sending patches that are adding debugger support 
for Portable .NET. Please take a look at them and tell me what you like and 
what you dont like. The paches are not perfect, but they are working with CVM 
engine. I will commit once everybody is happy with it.

The debugger patches are currently part of PortableStudio IDE project. If you 
want to try the debugger here is what you should do:

1/ get latest pnet sources from CVS.
2/ download latest PortableStudio sources to pnet dir and apply the patches

cd /home/radek/pnet
svn co svn://svn.gna.org/svn/libide/trunk/studio studio
(ls should show following directories: pnet pnetlib studio)
cd studio/pnet_patches/Debugger/
./apply_patch.sh

3/ recompile pnet
cd /home/radek/pnet/pnet
./auto_gen.sh
./configure --prefix=/usr
make
sudo make install

4a/ test it in PortableStudio (you should have vim on installed)
cd /home/radek/pnet/studio
make
ilrun PortableStudio.exe
File->Open->some.exe compiled with debug info e.g. 
/home/radek/pnet/pnetlib/samples/developers/Developers.exe
hit the Debug button

4b/ there is low level frontend for debugger. It's useful for "debugging the 
debugger"
cd /home/radek/pnet/studio/service_console/
ilrun ServiceConsole.exe 4571

in second terminal do:
cd /home/radek/pnet/pnetlib/samples/developers/
ilrun -G Developers.exe

switch to ServiceConsole and type debugger commands - help command shows you 
more.


Tomorrow i am leaving for holidays and i will be back in two weeks.

Happy debugging

Radek






Attachment: debugger.c
Description: Text Data

Attachment: debugger.h
Description: Text Data

Attachment: engine.h.patch
Description: Text Data

Attachment: engine_Makefile.am.patch
Description: Text document

Attachment: il_debugger.h
Description: Text Data

Attachment: ilrun.c.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]