the debug of Test.ipdl demo
this a debug blog
https://wiki.mozilla.org/IPDL/Low_level_setup
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2017.9.22 friday
Test.ipdl
error analyze :
probably problems:
1.the ipdl.py is not going well as well
2.the ***.ipdl is not okay
can i change a way to finish this work?
1.another way seem to be add it to the build.how ?
probably solution:
imitate the exist ipdl file .
compared with PTestshell.ipdl
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2017.9.25 monday
today ,change a vm. and after the errors of ipdl.py and parser.py fixed by add that sys.path append() ,the program yield another error in Test.ipdl:
the typename of the variables didn't defined ?
there are some assumptions :
1.there should include a header which contained these typename
2.defined yourself.
aftrnoon:
this undeclared type is sucker!
may be give up this file.
use another ipdl file here:
https://wiki.mozilla.org/IPDL/Five_minute_example
it can split 3 header successfully :
then add 'hello sucker!' to implement test,
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2017.9.26 tuesday
the problems now are :
1.don't know where to add that code to implement hello sucker.
2.don't know how to compile it finally
thoughts about this:
read the codes in source which has existend about certain ipdl track back it and imitate.
after finishing this ,check about how to comply all things .
is it possible for writing these 3 module in Test.cpp?
this means you are not understanding ipdl very well,you need to study it again.
-------------------------------------------------------------------------------------------------------------------
afternoon:
add them in sketions generate :
i add it to TestChild.h,cpp TestPraent.h.cpp dividely .
and try mmm,mm ,./build.sh and i cannot find the ipcpanipdl executable file
night:
the problem now is that don't know how to generate binary file.
and how to test whether the ipdl is okay.
the thoughts are as follow :
1.makefile
2.andriod,mk
3.moz.build
4.mach?
5.cmake?
just have a try to make them by makefile.
what purpose is my work now ?
get that 3lines of debug result ,prove that ipdl is well and get the ipdl theory understand by collegues .
can i change a way to prove my ipdl works well?and how?