Blocked and Hierarchial ALV s
Hi Experts,
wht is the use of blocked and hierarchial ALV's.
In which situations are they used? Can u provide any material
Thank You
hi,
<b>Block ALV</b> means more than one list in one screen.
Means u can have many list in one screen at a time.
Like this,
TYPE-POOLS : slis.
TABLES : mara,
makt.
SELECT-OPTIONS : mat FOR mara-matnr.
DATA : BEGIN OF itab OCCURS 0,
matnr LIKE mara-matnr,
maktx LIKE makt-maktx,
matkl LIKE mara-matkl,
mtart LIKE mara-mtart,
END OF itab.
DATA : BEGIN OF itab1 OCCURS 0,
mtart LIKE mara-mtart,
count TYPE i,
END OF itab1.
DATA : BEGIN OF itab1_col OCCURS 0,
mtart LIKE mara-mtart,
count TYPE i,
END OF itab1_col.
DATA : t_fcat1 TYPE slis_t_fieldcat_alv,
t_fcat2 TYPE slis_t_fieldcat_alv,
wa_fcat TYPE slis_fieldcat_alv,
t_eve TYPE slis_t_event,
wa_eve TYPE slis_alv_event,
t_layout TYPE slis_layout_alv.
DATA : v_repid LIKE sy-repid,
t_mat LIKE mara-matnr.
DEFINE create_fcat.
clear wa_fcat.
wa_fcat-fieldname = &1.
wa_fcat-seltext_l = &2.
wa_fcat-outputlen = &3.
append wa_fcat to t_fcat1.
END-OF-DEFINITION.
START-OF-SELECTION.
PERFORM get_data.
PERFORM dis_data.
*& Form get_data
text
FORM get_data.
SELECT amatnr bmaktx amtart amatkl INTO CORRESPONDING FIELDS OF TABLE itab
FROM mara AS a INNER JOIN makt AS b ON
amatnr = bmatnr
WHERE a~matnr IN mat.
LOOP AT itab.
itab1-mtart = itab-mtart.
itab1-count = 1.
APPEND itab1.
ENDLOOP.
SORT itab1 BY mtart.
LOOP AT itab1.
MOVE-CORRESPONDING itab1 TO itab1_col.
COLLECT itab1_col.
ENDLOOP.
ENDFORM. "get_data
*& Form dis_data
text
FORM dis_data.
v_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = v_repid.
REFRESH t_fcat1.
CLEAR t_fcat1.
REFRESH t_eve.
wa_eve-name = 'TOP_OF_PAGE'.
wa_eve-form = 'TOP_OF_PAGE1'.
APPEND wa_eve TO t_eve.
create_fcat:
'MATNR' 'Material' '10',
'MAKTX' 'Material Description' '40',
'MTART' 'Type' '10',
'MATKL' 'Group' '10'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = t_layout
it_fieldcat = t_fcat1
i_tabname = 'ITAB'
it_events = t_eve
TABLES
t_outtab = itab.
REFRESH t_fcat1.
CLEAR t_fcat1.
REFRESH t_eve.
wa_eve-name = 'TOP_OF_PAGE'.
wa_eve-form = 'TOP_OF_PAGE2'.
APPEND wa_eve TO t_eve.
create_fcat:
'MTART' 'Type' '10',
'COUNT' 'Total' '5'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = t_layout
it_fieldcat = t_fcat1
i_tabname = 'ITAB1_COL'
it_events = t_eve
TABLES
t_outtab = itab1_col.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'.
ENDFORM. "dis_data
*& Form top_of_page1
text
FORM top_of_page1.
FORMAT COLOR COL_POSITIVE.
WRITE:/ 'First Block'.
FORMAT COLOR OFF.
ENDFORM. "top_of_page
*& Form top_of_page2
text
FORM top_of_page2.
FORMAT COLOR COL_NEGATIVE.
WRITE /5 'Second Block'.
FORMAT COLOR OFF.
ENDFORM. "top_of_page
In <b>hierarchical ALV</b> hierarchy will create,
Like This,
TYPE-POOLS : slis.
TABLES : mseg.
DATA : BEGIN OF itab_head OCCURS 0,
matnr LIKE mseg-matnr,
werks LIKE mseg-werks,
END OF itab_head.
DATA : BEGIN OF itab_item OCCURS 0,
matnr LIKE mseg-matnr,
werks LIKE mseg-werks,
mblnr LIKE mseg-mblnr,
menge LIKE mseg-menge,
END OF itab_item.
DATA : t_fcat TYPE slis_t_fieldcat_alv,
key_info TYPE slis_keyinfo_alv,
t_eve TYPE slis_t_event,
gt_subtot TYPE slis_t_sortinfo_alv,
subtot LIKE LINE OF gt_subtot,
t_listhead TYPE slis_t_listheader,
st_line TYPE slis_listheader.
DATA : t_mtdoc LIKE mseg-mblnr.
SELECT-OPTIONS : mat FOR mseg-matnr.
INITIALIZATION.
PERFORM build_cat USING t_fcat.
PERFORM build_eve.
START-OF-SELECTION.
PERFORM get_data.
PERFORM dis_data.
*& Form build_cat
text
-->TEMP_FCAT text
FORM build_cat USING temp_fcat TYPE slis_t_fieldcat_alv.
DATA : wa_fcat TYPE slis_fieldcat_alv.
wa_fcat-tabname = 'ITAB_HEAD'.
wa_fcat-fieldname = 'MATNR'.
wa_fcat-seltext_m = 'Material'.
APPEND wa_fcat TO temp_fcat.
CLEAR wa_fcat.
wa_fcat-tabname = 'ITAB_HEAD'.
wa_fcat-fieldname = 'WERKS'.
wa_fcat-seltext_m = 'Plant'.
APPEND wa_fcat TO temp_fcat.
CLEAR wa_fcat.
wa_fcat-tabname = 'ITAB_ITEM'.
wa_fcat-fieldname = 'MBLNR'.
wa_fcat-seltext_m = 'Material Doc.'.
APPEND wa_fcat TO temp_fcat.
CLEAR wa_fcat.
wa_fcat-tabname = 'ITAB_ITEM'.
wa_fcat-fieldname = 'MENGE'.
wa_fcat-seltext_m = 'Quantity'.
wa_fcat-do_sum = 'Y'.
APPEND wa_fcat TO temp_fcat.
CLEAR wa_fcat.
subtot-spos = 1.
subtot-fieldname = 'MATNR'.
subtot-tabname = 'ITAB_HEAD'.
subtot-up = 'X'.
subtot-group = 'X'.
subtot-subtot = 'X'.
subtot-expa = 'X'.
APPEND subtot TO gt_subtot.
ENDFORM. "build_cat
*& Form build_eve
text
FORM build_eve.
DATA : wa_eve TYPE slis_alv_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = t_eve
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE t_eve INTO wa_eve WITH KEY name = 'TOP_OF_PAGE'.
IF sy-subrc = 0.
wa_eve-form = 'TOP_OF_PAGE'.
MODIFY t_eve FROM wa_eve INDEX sy-tabix.
ENDIF.
ENDFORM. "build_eve
*& Form get_data
text
FORM get_data.
SELECT matnr werks mblnr menge FROM mseg INTO CORRESPONDING FIELDS OF TABLE itab_item
WHERE matnr IN mat.
ENDFORM. "get_data
*& Form dis_data
text
FORM dis_data.
key_info-header01 = 'MATNR'.
key_info-item01 = 'MATNR'.
key_info-header02 = 'WERKS'.
key_info-item02 = 'WERKS'.
REFRESH itab_head.
LOOP AT itab_item.
ON CHANGE OF itab_item-matnr OR itab_item-werks.
MOVE-CORRESPONDING itab_item TO itab_head.
APPEND itab_head.
ENDON.
ENDLOOP.
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = 'ZHEIRALV_PRDS'
i_callback_user_command = 'USER_COMMAND'
it_fieldcat = t_fcat
it_sort = gt_subtot
it_events = t_eve[]
i_tabname_header = 'ITAB_HEAD'
i_tabname_item = 'ITAB_ITEM'
is_keyinfo = key_info
TABLES
t_outtab_header = itab_head
t_outtab_item = itab_item
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "dis_data
*& Form top_of_page
text
FORM top_of_page.
CLEAR st_line.
st_line-typ = 'H'.
st_line-info = 'Dhwani Shah'.
APPEND st_line TO t_listhead.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_listhead
I_LOGO =
I_END_OF_LIST_GRID =
I_ALV_FORM =
ENDFORM. "top_of_page
reward if useful.
Similar Messages
-
Programs for alv block and hierarchy list
hi abapers,
can anyone pls mail me the simple program to get an idea of block and hierarchy list.
my mail id is <u>[email protected]</u>HI
go through below links
http://www.sapgenie.com/abap/controls/alvgrid.htm
http://www.sapfans.com/forums/viewtopic.php?t=58286
http://www.sapfans.com/forums/viewtopic.php?t=76490
http://www.sapfans.com/forums/viewtopic.php?t=20591
http://www.sapfans.com/forums/viewtopic.php?t=66305
Reward points if help full
Regards
Suresh.D -
Any one pls send me documentation on blocked and hierachi alv with example
hi experts,
any one pls send me documentation on blocked and hierachi alv with example
rewad points.........Hi,
Check this prg:
BCALV_TEST_HIERSEQ_LIST
Regards,
Subramanian -
ALV like LIST GRID BLOCKED and HIRARCHIC using oops class SALV
Hi ,
Can any one let know me is it possible to display all the Flavours of ALV like LIST GRID BLOCKED and HIRARCHICAL
using oops class CL_GUI_ALV and class CL_SALV.
and the relevant events with respect to the type of ALV.
regardsHello
Have you had a look at the documents of Rich Heilman:
[ALV Object Model - Simple 2D Table - Event Handling|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cda3992d-0e01-0010-90b2-c4e1f899ac01]
[ALV Object Model - Hierarchical Sequential List - The Basics|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0f03986-046c-2910-a5aa-e5364e96ea2c]
[ALV Object Model - Simple 2D Table - The Basics|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/eac1fa0b-0e01-0010-0990-8530de4908a6]
Regards
Uwe -
Hierarchy ALV and LinkToURL and row colors
Hi!
I've to implement a hierarchy ALV with two hierarchy columns, which should appear as LinktoURL (different URLs).
The Hierarchy-header-line should be displayed in an other color then the other rows.
Popins are not supported by ALV? This could help, but the displayed table must be printable (PDF), that's why I'm focused to ALV!
Is this possible? If yes, please give me hints you to implement these functionality!
Kind regards and thanks in advance!
PeterHi,
to use Cancel button in dialog based on class cl_salv_table, define your own gui-status or use an existing from standard program, for example gui-status ST850 from program SAPLKKB.
Look here for the complete example:
[http://www.kerum.pl/infodepot/00003]
regards,
Kris -
Can we get subtotal and grand total by own calculation in a hierarchy ALV?
Can we get subtotal and grand total by own calculation in a hierarchy ALV? I can get them by setting DO_SUM = 'X' by standard summation, but now I need to do my own summation on subtotal and total, can I?
Can we get subtotal and grand total by own calculation in a hierarchy ALV? I can get them by setting DO_SUM = 'X' by standard summation, but now I need to do my own summation on subtotal and total, can I?
-
Is it possible to display list alv and grid alv in the same screen
Hi
There are methods to display more than 1 alv grid in the same screen by using block append grid . In the same manner its available for more than 1 list alv report display by REUSE_ALV_BLOCK_LIST_APPEND.
My question is I want to display 1 alv list and 1 alv grid report in the same output screen .
Please let me know how to do it ? I will definetly appreciate the answers.
Thanks!!Hi Anindita,
Previously i ad told v cant display two lists together in same screen. But u can use Block ALV for this. Use FM "REUSE_ALV_BLOCK_LIST_APPEND.
In OO u can use Cl_GUI_EAST_SPLITTER_CONTAINER for displayin more than two lists in same screen.
If useful giv points
Regards
Vanitha P -
Hi Friends,
I have created a Hierarchial ALV report using OOP concept (Class Builder). The output is OK but it is displaying the unwanted columns in the header part.
The code written is as follows.
=====================================================
REPORT ZMMSTKH.
DATA: G_ALV_TREE TYPE REF TO CL_GUI_ALV_TREE,
G_CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
DATA: GT_ZSD_BILLINFO TYPE ZSD_BILLINFO OCCURS 0, "Output-Table
OK_CODE LIKE SY-UCOMM,
SAVE_OK LIKE SY-UCOMM, "OK-Code
G_MAX TYPE I VALUE 255.
DATA CCONTAINER1.
DATA LS_FIELDCAT TYPE LVC_S_FCAT.
DATA GT_FIELDCAT_LVC TYPE LVC_S_FCAT OCCURS 0.
DATA IT_FIELDCATALOG TYPE LVC_S_FCAT OCCURS 0.
END-OF-SELECTION.
CALL SCREEN 100.
*& Module PBO OUTPUT
process before output
MODULE PBO OUTPUT.
SET PF-STATUS 'MAIN100'.
SET TITLEBAR 'MAINTITLE'.
IF G_ALV_TREE IS INITIAL.
PERFORM INIT_TREE.
CALL METHOD CL_GUI_CFW=>FLUSH
EXCEPTIONS
CNTL_SYSTEM_ERROR = 1
CNTL_ERROR = 2.
IF SY-SUBRC NE 0.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
TITEL = 'Automation Queue failure'(801)
TXT1 = 'Internal error:'(802)
TXT2 = 'A method in the automation queue'(803)
TXT3 = 'caused a failure.'(804).
ENDIF.
ENDIF.
ENDMODULE. " PBO OUTPUT
*& Module PAI INPUT
process after input
MODULE PAI INPUT.
SAVE_OK = OK_CODE.
CLEAR OK_CODE.
CASE SAVE_OK.
WHEN 'EXIT' OR 'BACK' OR 'CANC'.
PERFORM EXIT_PROGRAM.
WHEN OTHERS.
CALL METHOD CL_GUI_CFW=>DISPATCH.
ENDCASE.
CALL METHOD CL_GUI_CFW=>FLUSH.
ENDMODULE. " PAI INPUT
*& Form init_tree
text
--> p1 text
<-- p2 text
FORM INIT_TREE.
DATA: L_TREE_CONTAINER_NAME(30) TYPE C.
L_TREE_CONTAINER_NAME = 'CCONTAINER1'(001).
CREATE OBJECT G_CUSTOM_CONTAINER
EXPORTING
CONTAINER_NAME = L_TREE_CONTAINER_NAME
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 5.
IF SY-SUBRC <> 0.
MESSAGE X208(00) WITH 'ERROR'(100).
ENDIF.
CREATE OBJECT G_ALV_TREE
EXPORTING
PARENT = G_CUSTOM_CONTAINER
NODE_SELECTION_MODE = CL_GUI_COLUMN_TREE=>NODE_SEL_MODE_SINGLE
ITEM_SELECTION = 'X'
NO_HTML_HEADER = 'X'
NO_TOOLBAR = ''
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
ILLEGAL_NODE_SELECTION_MODE = 5
FAILED = 6
ILLEGAL_COLUMN_NAME = 7.
IF SY-SUBRC <> 0.
MESSAGE X208(00) WITH 'ERROR'. "#EC NOTEXT
ENDIF.
DATA L_HIERARCHY_HEADER TYPE TREEV_HHDR.
PERFORM BUILD_HIERARCHY_HEADER CHANGING L_HIERARCHY_HEADER.
PERFORM ZF_CREATE_FIELDCAT.
CALL METHOD G_ALV_TREE->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'zsd_billinfo'
IS_HIERARCHY_HEADER = L_HIERARCHY_HEADER
CHANGING
IT_OUTTAB = GT_ZSD_BILLINFO. "table must be empty !
IT_FIELDCATALOG = GT_FIELDCAT_LVC[].
PERFORM CREATE_HIERARCHY.
CALL METHOD G_ALV_TREE->FRONTEND_UPDATE.
ENDFORM. " init_tree
*& Form build_hierarchy_header
FORM BUILD_HIERARCHY_HEADER CHANGING
P_HIERARCHY_HEADER TYPE TREEV_HHDR.
P_HIERARCHY_HEADER-HEADING = 'Region / Material'(300).
p_hierarchy_header-tooltip = 'PO No'(400).
P_HIERARCHY_HEADER-WIDTH = 30.
P_HIERARCHY_HEADER-WIDTH_PIX = ' '.
ENDFORM. " build_hierarchy_header
*& Form exit_program
free object and leave program
FORM EXIT_PROGRAM.
CALL METHOD G_CUSTOM_CONTAINER->FREE.
LEAVE PROGRAM.
ENDFORM. " exit_program
*& Form create_hierarchy
text
--> p1 text
<-- p2 text
FORM CREATE_HIERARCHY.
DATA: LS_ZSD_BILLINFO TYPE ZSD_BILLINFO,
LT_ZSD_BILLINFO TYPE ZSD_BILLINFO OCCURS 0,
l_bukrs like zsd_billinfo-bukrs,
l_vbeln like zsd_billinfo-vbeln,
l_fkdat like zsd_billinfo-fkdat,
l_fkart like zsd_billinfo-fkart,
l_vkorg like zsd_billinfo-vkorg,
l_spart like zsd_billinfo-spart,
L_BZIRK LIKE ZSD_BILLINFO-BZIRK,
L_BZIRK_LAST LIKE ZSD_BILLINFO-BZIRK,
l_vkbur like zsd_billinfo-vkbur,
L_WERKS LIKE ZSD_BILLINFO-WERKS,
L_WERKS_LAST LIKE ZSD_BILLINFO-WERKS,
L_MATNR LIKE ZSD_BILLINFO-MATNR,
L_MATNR_LAST LIKE ZSD_BILLINFO-MATNR,
L_FKIMG LIKE ZSD_BILLINFO-FKIMG,
L_NETWR LIKE ZSD_BILLINFO-NETWR.
DATA: L_BUKRS_KEY TYPE LVC_NKEY,
L_BZIRK_KEY TYPE LVC_NKEY,
L_WERKS_KEY TYPE LVC_NKEY,
L_MATNR_KEY TYPE LVC_NKEY,
l_vbeln_key type lvc_nkey,
L_LAST_KEY TYPE LVC_NKEY.
SELECT BUKRS BZIRK WERKS MATNR FKIMG FROM ZSD_BILLINFO
INTO CORRESPONDING FIELDS OF
TABLE LT_ZSD_BILLINFO
WHERE SPART = 'CT' AND
FKART = 'ZVAT'.
select * from zsd_billinfo into table lt_zsd_billinfo
where spart = 'CT' and
fkart = 'ZVAT'.
SORT LT_ZSD_BILLINFO BY BZIRK WERKS MATNR.
LOOP AT LT_ZSD_BILLINFO INTO LS_ZSD_BILLINFO.
L_BZIRK = LS_ZSD_BILLINFO-BZIRK.
L_WERKS = LS_ZSD_BILLINFO-WERKS.
L_MATNR = LS_ZSD_BILLINFO-MATNR.
IF L_BZIRK <> L_BZIRK_LAST.
L_BZIRK_LAST = L_BZIRK.
PERFORM ADD_BZIRK USING L_BZIRK
CHANGING L_BZIRK_KEY.
CLEAR L_WERKS_LAST.
ENDIF.
IF L_WERKS <> L_WERKS_LAST.
L_WERKS_LAST = L_WERKS.
PERFORM ADD_WERKS_LINE USING LS_ZSD_BILLINFO
L_WERKS_KEY
CHANGING L_WERKS_KEY.
IF L_MATNR <> L_MATNR_LAST.
L_MATNR_LAST = L_MATNR.
PERFORM ADD_MATNR_LINE USING LS_ZSD_BILLINFO
L_MATNR_KEY
CHANGING L_MATNR_KEY.
ENDIF.
PERFORM ADD_COMPLETE_LINE USING LS_ZSD_BILLINFO
L_MATNR_KEY
CHANGING L_LAST_KEY.
ENDIF.
*if l_matnr <> l_matnr_last.
l_matnr_last = l_matnr.
perform add_matnr_line using ls_zsd_billinfo
l_matnr_key
changing l_matnr_key.
endif.
perform add_complete_line using ls_zsd_billinfo
l_matnr_key
changing l_last_key.
ENDLOOP.
ENDFORM. " create_hierarchy
*& Form add_month
*& Form add_ebeln
FORM ADD_BZIRK USING P_BZIRK TYPE C
P_RELAT_KEY TYPE LVC_NKEY
CHANGING P_NODE_KEY TYPE LVC_NKEY.
DATA: L_NODE_TEXT TYPE LVC_VALUE,
LS_ZSD_BILLINFO TYPE ZSD_BILLINFO,
L_BZIRK(12) TYPE C. "output string for month
CALL METHOD G_ALV_TREE->ADD_NODE
EXPORTING
I_RELAT_NODE_KEY = P_RELAT_KEY
I_RELATIONSHIP = CL_GUI_COLUMN_TREE=>RELAT_LAST_CHILD
I_NODE_TEXT = L_NODE_TEXT
IS_OUTTAB_LINE = LS_ZSD_BILLINFO
IMPORTING
E_NEW_NODE_KEY = P_NODE_KEY.
ENDFORM. " add_month
FORM ADD_WERKS_LINE USING PS_ZSD_BILLINFO TYPE ZSD_BILLINFO
P_RELAT_KEY TYPE LVC_NKEY
CHANGING P_NODE_KEY TYPE LVC_NKEY.
DATA: L_NODE_TEXT TYPE LVC_VALUE,
LS_ZSD_BILLINFO TYPE ZSD_BILLINFO.
L_NODE_TEXT = PS_ZSD_BILLINFO-WERKS.
CALL METHOD G_ALV_TREE->ADD_NODE
EXPORTING
I_RELAT_NODE_KEY = P_RELAT_KEY
I_RELATIONSHIP = CL_GUI_COLUMN_TREE=>RELAT_LAST_CHILD
I_NODE_TEXT = L_NODE_TEXT
IS_OUTTAB_LINE = LS_ZSD_BILLINFO
IMPORTING
E_NEW_NODE_KEY = P_NODE_KEY.
ENDFORM. " add_carrid_line
FORM ADD_MATNR_LINE USING PS_ZSD_BILLINFO TYPE ZSD_BILLINFO
P_RELAT_KEY TYPE LVC_NKEY
CHANGING P_NODE_KEY TYPE LVC_NKEY.
DATA: L_NODE_TEXT TYPE LVC_VALUE,
LS_ZSD_BILLINFO TYPE ZSD_BILLINFO.
L_NODE_TEXT = PS_ZSD_BILLINFO-MATNR.
CALL METHOD G_ALV_TREE->ADD_NODE
EXPORTING
I_RELAT_NODE_KEY = P_RELAT_KEY
I_RELATIONSHIP = CL_GUI_COLUMN_TREE=>RELAT_LAST_CHILD
I_NODE_TEXT = L_NODE_TEXT
IS_OUTTAB_LINE = LS_ZSD_BILLINFO
IMPORTING
E_NEW_NODE_KEY = P_NODE_KEY.
ENDFORM. " add_carrid_line
**& Form add_complete_line
FORM ADD_COMPLETE_LINE USING PS_ZSD_BILLINFO TYPE ZSD_BILLINFO
P_RELAT_KEY TYPE LVC_NKEY
CHANGING P_NODE_KEY TYPE LVC_NKEY.
DATA: L_NODE_TEXT TYPE LVC_VALUE.
WRITE PS_ZSD_BILLINFO-BZIRK TO L_NODE_TEXT.
CALL METHOD G_ALV_TREE->ADD_NODE
EXPORTING
I_RELAT_NODE_KEY = P_RELAT_KEY
I_RELATIONSHIP = CL_GUI_COLUMN_TREE=>RELAT_LAST_CHILD
IS_OUTTAB_LINE = PS_ZSD_BILLINFO
I_NODE_TEXT = L_NODE_TEXT
IMPORTING
E_NEW_NODE_KEY = P_NODE_KEY.
ENDFORM. " add_complete_line
*& Form zf_create_fieldcat
text
FORM ZF_CREATE_FIELDCAT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'FKIMG'.
LS_FIELDCAT-REF_TABLE = 'zsd_billinfo'.
LS_FIELDCAT-NO_OUT = 'X'.
LS_FIELDCAT-KEY = ''.
APPEND LS_FIELDCAT TO GT_FIELDCAT_LVC.
ENDFORM. " ZF_CREATE_FIELDCAT
=================================================
Kindly look into the code and guide me the solution.
TIA.
Regards,
Mark Khi
good
i tried your ALV report but it is giving some error due to some ztable you have used in your progam,
you can go to se38 and give there BCALV* and press f4, you ll find lots of ALV example related to OOP concept, you can test them and use them as per your requirement.
thnaks
mrutyun^ -
Hi Friends,
I have created a Hierarchial ALV report using OOP concept (Class Builder). The output is OK but it is displaying the unwanted columns in the header part.
The code written is as follows.
=====================================================
data: gt_zsd_abcd type zsd_abcd occurs 0, "Output-Table
data l_hierarchy_header type treev_hhdr.
perform build_hierarchy_header changing l_hierarchy_header.
call method g_alv_tree->set_table_for_first_display
exporting
i_structure_name = 'zsd_abcd'
is_hierarchy_header = l_hierarchy_header
changing
it_outtab = gt_zsd_abcd. "table must be empty !
perform create_hierarchy.
call method g_alv_tree->frontend_update.
=====================================================
I would like know as to how to display only the required columns in the header part.
Pls guide me.
TIA.
Regards,
Mark KHi Mark,
i got it, in your case you will get all the fields present in the structure you mentioned in the method.
so if you want only Purchase Order then you need to Build the fieldcat only for that field and then pass that fieldcat to the method. and don't pass the structure in this case.
call method alv_tree_control->set_table_for_first_display
exporting
is_variant = l_variant
i_save = 'A'
i_default = 'X'
is_hierarchy_header = l_hierarchy_header
it_special_groups = l_special_groups
it_toolbar_excluding = l_toolbar_excluding
changing
<b>it_fieldcatalog = l_field_catalog</b>
it_outtab = l_output_tbl.
Regards
vijay -
what do u mean by Hierarchial alv's and what is the exact purpose of them according to ooabap functionality and can anybody explain various issues regarding it,If possible with an example.
FOLLOW THE LINKS
alv with oops
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
www.saptechies.com/alv-faq--general-information/
The specified item was not found.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
http://www.geocities.com/mpioud/Abap_programs.html
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an%20easy%20reference%20for%20alv%20grid%20control.pdf
http://www.sapgenie.com/abap/controls/alvgrid.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIDOCK/BCCIDOCK.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIGOF/BCCIGOF.pdf
http://www.sapdevelopment.co.uk/reporting/alv/alvscr.htm
http://esnips.com/doc/b708766f-a934-42a1-8064-c4de75b48fc4/Sample-Program-of-alv-using-oops.ppt
http://esnips.com/doc/a2e42503-cf0f-4418-94ee-580f5900a81f/alv-with-oop.doc
http://esnips.com/doc/2d953590-e8c5-490c-a607-d1ab7cf517d7/ALV.pdf
codes for alv with oops
codeBCALV_EDIT_01.
BCALV_EDIT_02.
BCALV_EDIT_03.
BCALV_EDIT_04.
BCALV_EDIT_05.
BCALV_EDIT_06.
BCALV_EDIT_07.
BCALV_EDIT_08.[/code]
HIERARCHIAL ALV
REUSE_ALV_HIERSEQ_LIST_DISPLAY
Text
Hierarchical sequential list output
Functionality
This module outputs two internal tables as a formated hierarchical-sequential list.
Principle:
Pass an internal table containing the set of header information to be output.
Pass an internal table containing the set of item information to be output.
Pass a structure containing the general list layout details
Pass a field catalog in the form of an internal table. The field catalog describes the fields to be output in the list.
Notes
All interactions which are performed on the list refer directly to the internal output tables, e.g. sorting the list also sorts the passed internal output tables (passed by reference).
The expected output data quantity is an important consideration for the use of the tool or various generic functions (totals, subtotals).
The application must take account of this.
Further Information
Parameters
ES_EXIT_CAUSED_BY_USER
Meaning
See the documentation of parameter .
REUSE_ALV_LIST_DISPLAY ES_EXIT_CAUSED_BY_USER> ES_EXIT_CAUSED_BY_USER .
Range
Default
E_EXIT_CAUSED_BY_CALLER
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY E_EXIT_CAUSED_BY_CALLER> link to REUSE_ALV_LIST_DISPLAY E_EXIT_CAUSED_BY_CALLER
Range
Default
IS_KEYINFO
Meaning
This structure contains the header and item table field names which link the two tables (shared key).
Enter the foreign key field names in the fields KEYINFO-HEADERxx and KEYINFO-ITEMxx. The foreign key field names of the header and item tables are usually identical.
The item table has other key fields as well as the header table foreign key. These other key fields should also be named in this structure. The corresponding header table field (HEADERxx) must be SPACE.
Naming the other key fields guarantees a stable item table sort sequence.
Range
Default
IS_LAYOUT
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY IS_LAYOUT> link to REUSE_ALV_LIST_DISPLAY IS_LAYOUT
IS_PRINT
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY IS_PRINT> link to REUSE_ALV_LIST_DISPLAY IS_PRINT
Range
Default
IS_REPREP_ID
IS_SEL_HIDE
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY IS_SEL_HIDE> link to REUSE_ALV_LIST_DISPLAY IS_SEL_HIDE
Range
Default
IS_VARIANT
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY IS_VARIANT> link to REUSE_ALV_LIST_DISPLAY IS_VARIANT
Range
Default
IT_EVENTS
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY IT_EVENTS> link to REUSE_ALV_LIST_DISPLAY IT_EVENTS
Range
Default
IT_EVENT_EXIT
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY IT_EVENT_EXIT> link to REUSE_ALV_LIST_DISPLAY IT_EVENT_EXIT
Range
Default
IT_EXCLUDING
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY IT_EXCLUDING> link to REUSE_ALV_LIST_DISPLAY IT_EXCLUDING
Range
Default
IT_FIELDCAT
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY IT_FIELDCAT> link to REUSE_ALV_LIST_DISPLAY IT_FIELDCAT
Range
Default
IT_FILTER
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY IT_FILTER> link to REUSE_ALV_LIST_DISPLAY IT_FILTER
Range
Default
IT_SORT
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY IT_SORT> link to REUSE_ALV_LIST_DISPLAY IT_SORT
Range
Default
IT_SPECIAL_GROUPS
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY IT_SPECIAL_GROUPS> link to REUSE_ALV_LIST_DISPLAY IT_SPECIAL_GROUPS
Range
Default
I_BUFFER_ACTIVE
I_BYPASSING_BUFFER
I_CALLBACK_PF_STATUS_SET
<DS:FU.REUSE_ALV_LIST_DISPLAY I_CALLBACK_PF_STATUS_SET> link to REUSE_ALV_LIST_DISPLAY I_CALLBACK_PF_STATUS_SET
I_CALLBACK_PROGRAM
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY I_CALLBACK_PROGRAM> link to REUSE_ALV_LIST_DISPLAY I_CALLBACK_PROGRAM
Range
Default
I_CALLBACK_USER_COMMAND
<DS:FU.REUSE_ALV_LIST_DISPLAY I_CALLBACK_USER_COMMAND> link to REUSE_ALV_LIST_DISPLAY I_CALLBACK_USER_COMMAND
I_DEFAULT
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY I_DEFAULT> link to REUSE_ALV_LIST_DISPLAY I_DEFAULT
Range
Default
I_INTERFACE_CHECK
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY I_INTERFACE_CHECK> link to REUSE_ALV_LIST_DISPLAY I_INTERFACE_CHECK
Range
Default
I_SAVE
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY I_SAVE> link to REUSE_ALV_LIST_DISPLAY I_SAVE
Range
Default
I_SCREEN_END_COLUMN
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY I_SCREEN_END_COLUMN> link to REUSE_ALV_LIST_DISPLAY I_SCREEN_END_COLUMN
Range
Default
I_SCREEN_END_LINE
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY I_SCREEN_END_LINE> link to REUSE_ALV_LIST_DISPLAY I_SCREEN_END_LINE
Range
Default
I_SCREEN_START_COLUMN
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY I_SCREEN_START_COLUMN> link to REUSE_ALV_LIST_DISPLAY I_SCREEN_START_COLUMN
Range
Default
I_SCREEN_START_LINE
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY I_SCREEN_START_LINE> link to REUSE_ALV_LIST_DISPLAY I_SCREEN_START_LINE
Range
Default
I_STRUCTURE_NAME_HEADER
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY I_STRUCTURE_NAME> link to REUSE_ALV_LIST_DISPLAY I_STRUCTURE_NAME
Range
Default
I_STRUCTURE_NAME_ITEM
Meaning
<DS:FU.REUSE_ALV_LIST_DISPLAY I_STRUCTURE_NAME> link to REUSE_ALV_LIST_DISPLAY I_STRUCTURE_NAME
Range
Default
I_TABNAME_HEADER
Meaning
Name of the internal table in the program containing the output data of the highest hierarchy level.
Range
Default
I_TABNAME_ITEM
Meaning
Name of the internal table in the program containing the output data of the lowest hierarchy level.
Range
Default
T_OUTTAB_HEADER
Meaning
Header table with data to be output
<DS:FU.REUSE_ALV_LIST_DISPLAY T_OUTTAB> link to REUSE_ALV_LIST_DISPLAY T_OUTTAB
Range
Default
T_OUTTAB_ITEM
Meaning
Item table with data to be output
<DS:FU.REUSE_ALV_LIST_DISPLAY T_OUTTAB> link to REUSE_ALV_LIST_DISPLAY T_OUTTAB
Default
Exceptions
PROGRAM_ERROR
Meaning
<DS:FX.REUSE_ALV_LIST_DISPLAY PROGRAM_ERROR> link to REUSE_ALV_LIST_DISPLAY PROGRAM_ERROR
EXAMPLE
go through this alv grid display example
wa_listheader-key = ''.
wa_listheader-typ = 'S'.
wa_listheader-info = 'Date'.
append wa_listheader to it_end_listheader.
clear: wa_listheader.
concatenate 'Time' sy-uzeit into w_date separated by space.
wa_listheader-key = ''.
wa_listheader-typ = 'S'.
wa_listheader-info = 'Time'.
append wa_listheader to it_end_listheader.
clear: wa_listheader.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = it_end_listheader[]
I_LOGO =
I_END_OF_LIST_GRID =
ENDFORM. " f100-end_of_page
In grid display there will be no end_of_page and no end_of_list.
You have show in top_of_page itself.
Otherwise use list display instead of grid.
Suresh Avutu
These steps have to be carried out...
DATA: gc_formname_top_of_page TYPE slis_formname
VALUE 'TOP_OF_PAGE'.
DATA: gc_formname_end_of_page TYPE slis_formname
VALUE 'END_OF_PAGE'.
DATA: gt_list_top_of_page TYPE slis_t_listheader.
DATA: gt_list_end_of_page TYPE slis_t_listheader.
PERFORM e03_eventtab_build USING gt_event[].
PERFORM e04_comment_build USING
gt_list_top_of_page[].
PERFORM e06_comment_build USING
gt_list_end_of_page[].
PERFORM list_alv_display.
FORM list_alv_display .
gt_event-name = slis_ev_top_of_list.
gt_event-form = 'TOP_OF_PAGE'.
APPEND gt_event.
gt_event-name = slis_ev_end_of_list.
gt_event-form = 'END_OF_PAGE'.
APPEND gt_event.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
i_bypassing_buffer = 'X'
i_buffer_active = ' '
i_callback_program = ....
FORM end_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
i_logo = ''
it_list_commentary = gt_list_end_of_page
I_END_OF_LIST_GRID = 1.
ENDFORM. "END_OF_PAGE
FORM e06_comment_build
USING e06_lt_end_of_page TYPE slis_t_listheader.
DATA: ls_line TYPE slis_listheader.
DATA: yl_uname(60).
< here u can concatenate system date and time to
yl_uname>
CLEAR ls_line.
ls_line-typ = 'S'.
ls_line-info = yl_uname.
APPEND ls_line TO e06_lt_end_of_page.
endform. "e06_comment_build
Suman Tyagi
An Example:
REPORT ZALV_GRID.
TABLES :vbap.
type-pools : slis.
data i_events TYPE slis_t_event.
DATA : my_alv TYPE REF TO cl_gui_alv_grid.
TYPES : BEGIN OF itab,
vbeln LIKE vbap-vbeln,
arktx LIKE vbap-arktx,
END OF itab.
TYPES : itab1 TYPE TABLE OF itab.
DATA : display TYPE itab1.
DATA : fcat TYPE SLIS_T_FIELDCAT_ALV.
DATA : wa LIKE LINE OF FCAT.
DATA WA1 LIKE VBAP.
DATA: container TYPE REF TO cl_gui_custom_container.
data report_id like sy-repid.
SELECT-OPTIONS s_vbeln FOR vbap-vbeln.
report_id = sy-repid.
SELECT * FROM vbap INTO CORRESPONDING FIELDS OF TABLE display WHERE
vbeln IN s_vbeln.
wa-fieldname = 'VBELN'.
wa-tabname = 'VBAP'.
wa-key = 'X'.
WA-HOTSPOT = 'X'.
wa-text_fieldname = 'Doc no.'.
APPEND wa TO fcat.
CLEAR wa.
wa-fieldname = 'ARKTX'.
wa-tabname = 'VBAP'.
wa-text_fieldname = 'Item Text'.
APPEND wa TO fcat.
PERFORM f0650_build_event USING 'USER_COMMAND'
'F0750_USER_COMMAND'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY '
EXPORTING
I_CALLBACK_PROGRAM = report_id
IT_FIELDCAT = FCAT
IT_EVENTS = i_events
TABLES
t_outtab = DISPLAY
FORM f0650_build_event USING value(w_c_event_name)
value(w_c_event_form).
DATA: f0650_wa_event TYPE slis_alv_event.
CLEAR f0650_wa_event.
f0650_wa_event-name = w_c_event_name.
f0650_wa_event-form = w_c_event_form.
APPEND f0650_wa_event TO i_events.
ENDFORM.
FORM f0750_user_command USING w_ucomm TYPE sy-ucomm
w_selfield TYPE slis_selfield.
CASE w_ucomm.
WHEN '&IC1'.
READ TABLE DISPLAY INTO WA1 INDEX w_selfield-tabindex.
MESSAGE E000 WITH
' You have no authorization to view the report'.
call transaction 'SE11'.
ENDCASE.
ENDFORM.
cheers,
sharad
Edited by: sharad narayan on Apr 18, 2008 9:26 AM
Edited by: sharad narayan on Apr 18, 2008 9:32 AM -
Average Calculation in Hierarchial ALV
Hi,
I need to calculate average mean in hierarchial alv. the standard menu for calculate totals is disabled in both in function module REUSE_ALV_HIERSEQ_LIST_DISPLAY and
in the class cl_salv_hierseq_table. Please help with this
Regards,
Mathivanan.GHi,
Check this post, may help you
https://forums.sdn.sap.com/click.jspa?searchID=7088080&messageID=2847524
Regards,
Satish -
Hi FOlks,
Have a requirement to develop Hierarchy ALV with two levels. As we need to make the columns as editable we are going for ALV OOPS. Is there any way of doing Hierarchy ALV in OOPS...if so, could you please suggest me which Class and method to be used.....
Thanks in advance,
Shyam.Look at sample programs in R3
SALV_DEMO_TREE_DATA_UPDATE Demonstration Program for ALV OM Tree: Changed Data
SALV_DEMO_TREE_EVENTS Demonstration Program for ALV OM Tree: Events
SALV_DEMO_TREE_FUNCTIONS Demonstration Program for ALV OM Tree: Functions
SALV_DEMO_TREE_METADATA Demonstration Program for ALV OM Tree: Metadata
SALV_DEMO_TREE_SELECTIONS Demonstration Program for ALV OM Tree: Selections
SALV_DEMO_TREE_SETTINGS Demonstration Program for ALV OM Tree: Settings
SALV_DEMO_TREE_SIMPLE Demonstration Program for ALV OM Tree
Regards, -
Multilevel hierarchy ALV report of Mother WBS
Hi ABAP Guru,
I have created a Mother WBS sturcture which has been created in CJ91 tcode. I need a same hierarchy alv report same structure as shown in cj91 t code. Please help me out.
I have created a alv reort on that but when I make change in mother WBS, the new added wbs is comming in my report at last. PLease help me out.Hi Manish,
I am able to see WBS Elements in MB51 Report after going to detailed list from the initial output page. In this detailed output the sender and receiver WBS Elements are getting displayed incorrectly.From that screen only,if I go to Material document list,sender and receiver WBS Elements are getting displayed correctly.
Regards,
B P Singh -
Need hierarchy alv report base on salv_demo_hierseq_simple
Hi friends,
i need to do a hierarchy alv report,
i copied example code from program salv_demo_hierseq_simple and changes the selection screen +changed the select from tables.
my problem is that the results is one big list of data,
i dont have to open and close lines.
is anyone can help me with what could the problem be?
thanks,
dana.Guys,
Any Idea on this. -
Code::Blocks and gdb's Debug Attach to process; crash
Hello!
I've just started using Code::Blocks and very happy with it, but there is one problem: say I have a binary file with debugging symbols, then I try to attach to it using Code::Blocks (Debug>Attach to process); when I enter the PID and press "OK" button - IDE crashes.
Here is the stacktrace of codeblocks itself from gdb:
[user@host ~]$ gdb codeblocks
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/codeblocks...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/codeblocks
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xb1881b40 (LWP 8035)]
Initialize EditColourSet .....
[New Thread 0xae6c4b40 (LWP 8036)]
[New Thread 0xadec3b40 (LWP 8037)]
[New Thread 0xad6c2b40 (LWP 8038)]
[New Thread 0xacec1b40 (LWP 8039)]
Initialize EditColourSet: done.
Loading toolbar...
OpenFilesList: loaded
ThreadSearch: loaded
lib_finder: loaded
EnvVars: loaded
CodeStat: loaded
ClassWizard: loaded
HeaderFixup: loaded
BYOGames: loaded
CodeSnippets: loaded
cbDragScroll: loaded
SymTab: loaded
CB_Koders: loaded
HelpPlugin: loaded
Compiler: loaded
Debugger: loaded
wxSmithAui: loaded
Autosave: loaded
wxSmith: loaded
wxSmithMime: loaded
Profiler: loaded
ScriptedWizard: loaded
Valgrind: loaded
RegExTestbed: loaded
wxSmithContribItems: loaded
CppCheck: loaded
ToDoList: loaded
[New Thread 0xab9b8b40 (LWP 8040)]
CodeCompletion: loaded
FilesExtensionHandler: loaded
Cccc: loaded
Exporter: loaded
AStylePlugin: loaded
AutoVersioning: loaded
IncrementalSearch: loaded
ProjectsImporter: loaded
cbKeyBinder: loaded
MouseSap: loaded
BrowseTracker: loaded
HexEditor: loaded
copystrings: loaded
Open files list plugin activated
ThreadSearch plugin activated
Library finder plugin activated
Environment variables plugin activated
Code statistics plugin activated
Class wizard plugin activated
Header Fixup plugin activated
BYO Games plugin activated
Code snippets plugin activated
DragScroll plugin activated
Symbol Table Plugin plugin activated
Koders query plugin activated
Help plugin plugin activated
Added compiler "GNU GCC Compiler"
Added compiler "Intel C/C++ Compiler"
Added compiler "SDCC Compiler"
Added compiler "Tiny C Compiler"
Added compiler "GDC D Compiler"
Added compiler "Digital Mars D Compiler"
Added compiler "GNU ARM GCC Compiler"
Added compiler "GNU AVR GCC Compiler"
Added compiler "GNU GCC Compiler for PowerPC"
Added compiler "GNU GCC Compiler for TriCore"
Compiler plugin activated
Debugger plugin activated
wxSmith - Aui plugin activated
Autosave plugin activated
wxSmith plugin activated
wxSmith - MIME plugin plugin activated
Code profiler plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Lightfeather project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'SDL project'
Project wizard added for 'SFML project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'C/C++ header'
Scripted wizard plugin activated
Valgrind plugin activated
Regular expressions testbed plugin activated
wxSmith - Contrib Items plugin activated
CppCheck plugin activated
Todo List plugin activated
Code completion plugin activated
Files extension handler plugin activated
Cccc plugin activated
Source Exporter plugin activated
Source code formatter (AStyle) plugin activated
AutoVersioning plugin activated
IncrementalSearch plugin activated
Foreign projects importer plugin activated
Keyboard shortcuts plugin activated
MouseSap plugin activated
BrowseTracker plugin activated
HexEditor plugin activated
Copy Strings to clipboard plugin activated
Initializing plugins...
[New Thread 0xaaddcb40 (LWP 8047)]
Program received signal SIGSEGV, Segmentation fault.
0xb75237aa in wxStringBase::operator=(wxStringBase const&) () from /usr/lib/libwx_baseu-2.8.so.0
(gdb) backtrace
#0 0xb75237aa in wxStringBase::operator=(wxStringBase const&) () from /usr/lib/libwx_baseu-2.8.so.0
#1 0xabee2133 in DebuggerGDB::Debug() () from /usr/lib/codeblocks/plugins/libdebugger.so
#2 0xabed197b in DebuggerGDB::OnAttachToProcess(wxCommandEvent&) () from /usr/lib/codeblocks/plugins/libdebugger.so
#3 0xb74ce9f8 in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/libwx_baseu-2.8.so.0
#4 0xb755e59a in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#5 0xb755e71b in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
#6 0xb755ead1 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#7 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#8 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#9 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#10 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#12 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#13 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#14 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#15 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#16 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#17 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#18 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#19 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#20 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#21 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#22 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#23 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#24 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#25 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#26 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#27 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#28 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#29 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#30 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#31 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#32 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#33 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#34 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#35 0xb778cfb7 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#36 0xb6a2016c in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#37 0xb6a1ec5c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#38 0xb6a31a10 in ?? () from /usr/lib/libgobject-2.0.so.0
#39 0xb6a3a7a7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#40 0xb6a3a913 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#41 0xb6d7d6c5 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#42 0xb6c5b3c7 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
#43 0xb6c5b7d1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#44 0xb6c4fb2d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#45 0xb6c46762 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#46 0xb6a1d6ad in ?? () from /usr/lib/libgobject-2.0.so.0
#47 0xb6a1ec5c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#48 0xb6a31858 in ?? () from /usr/lib/libgobject-2.0.so.0
#49 0xb6a3a5b9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#50 0xb6a3a913 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#51 0xb6d7e743 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#52 0xb6c4492e in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#53 0xb6c44cc0 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#54 0xb6ab9078 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#55 0xb693907f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#56 0xb69397b0 in ?? () from /usr/lib/libglib-2.0.so.0
#57 0xb6939dbb in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#58 0xb6c43a5f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#59 0xb772ad8a in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#60 0xb77a6c1f in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#61 0xb77a64af in wxAppBase::OnRun() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#62 0x08074566 in ?? ()
#63 0xb7504ac6 in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#64 0xb7504b66 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
#65 0x0806c597 in ?? ()
#66 0xb71db3d5 in __libc_start_main () from /lib/libc.so.6
#67 0x08073d3d in ?? ()
(gdb)
Here is the XML file (debug report) that CodeBlocks gave to me after crash:
<?xml version="1.0" encoding="utf-8"?>
<report version="1.0" kind="exception">
<system description="Linux 3.3.2-1-ARCH i686"/>
<modules>
<module path="/usr/bin/codeblocks" address="08048000" size="0008f000"/>
<module path="/usr/bin/codeblocks" address="080dc000" size="00003000"/>
<module path="[heap]" address="087ef000" size="0138e000"/>
<module path="/usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf" address="aa53f000" size="0004d000"/>
<module path="/usr/lib/codeblocks/plugins/libHexEditor.so" address="aa5f7000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libHexEditor.so" address="aa5fb000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libBrowseTracker.so" address="aa631000" size="00002000"/>
<module path="/usr/lib/codeblocks/plugins/libMouseSap.so" address="aa634000" size="0000a000"/>
<module path="/usr/lib/codeblocks/plugins/libMouseSap.so" address="aa63f000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libkeybinder.so" address="aa676000" size="00002000"/>
<module path="/usr/lib/codeblocks/plugins/libprojectsimporter.so" address="aa679000" size="0002a000"/>
<module path="/usr/lib/codeblocks/plugins/libprojectsimporter.so" address="aa6a4000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libAutoVersioning.so" address="aa6de000" size="00002000"/>
<module path="/usr/lib/codeblocks/plugins/libastyle.so" address="aa6e1000" size="0003c000"/>
<module path="/usr/lib/codeblocks/plugins/libastyle.so" address="aa71e000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libexporter.so" address="aa7df000" size="00003000"/>
<module path="/usr/lib/codeblocks/plugins/libdefaultmimehandler.so" address="aa7e8000" size="00015000"/>
<module path="/usr/lib/codeblocks/plugins/libdefaultmimehandler.so" address="aa7ff000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libIncrementalSearch.so" address="aa902000" size="00013000"/>
<module path="/usr/lib/codeblocks/plugins/libIncrementalSearch.so" address="aa916000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libcodecompletion.so" address="ab118000" size="000a7000"/>
<module path="/usr/lib/codeblocks/plugins/libcodecompletion.so" address="ab1c2000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libtodo.so" address="ab1c4000" size="00023000"/>
<module path="/usr/lib/codeblocks/plugins/libtodo.so" address="ab1e8000" size="00002000"/>
<module path="/usr/lib/codeblocks/plugins/libCppCheck.so" address="ab1eb000" size="0000c000"/>
<module path="/usr/lib/codeblocks/plugins/libCppCheck.so" address="ab1f8000" size="00001000"/>
<module path="/usr/lib/wxSmithContribItems/libwxchartctrl.so.0.0.1" address="ab220000" size="00001000" version="0.0.1"/>
<module path="/usr/lib/wxSmithContribItems/libwxchartctrl.so.0.0.1" address="ab223000" size="00001000" version="0.0.1"/>
<module path="/usr/lib/codeblocks/plugins/libwxsmithcontribitems.so" address="ab24b000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libRegExTestbed.so" address="ab24e000" size="0000d000"/>
<module path="/usr/lib/codeblocks/plugins/libRegExTestbed.so" address="ab25c000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libscriptedwizard.so" address="ab2a9000" size="00004000"/>
<module path="/usr/lib/codeblocks/plugins/libProfiler.so" address="ab2ae000" size="0001a000"/>
<module path="/usr/lib/codeblocks/plugins/libProfiler.so" address="ab2c9000" size="00001000"/>
<module path="/usr/lib/libwxsmithlib.so.0.0.1" address="ab554000" size="00015000" version="0.0.1"/>
<module path="/usr/lib/codeblocks/plugins/libValgrind.so" address="ab581000" size="0000d000"/>
<module path="/usr/lib/codeblocks/plugins/libValgrind.so" address="ab58f000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libautosave.so" address="ab59d000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libwxSmithAui.so" address="ab59f000" size="00049000"/>
<module path="/usr/lib/codeblocks/plugins/libwxSmithAui.so" address="ab5e9000" size="00003000"/>
<module path="/usr/lib/codeblocks/plugins/libdebugger.so" address="ab5ef000" size="00097000"/>
<module path="/usr/lib/codeblocks/plugins/libdebugger.so" address="ab68c000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libcompiler.so" address="ab68e000" size="0011c000"/>
<module path="/usr/lib/codeblocks/plugins/libcompiler.so" address="ab7ad000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libhelp_plugin.so" address="ab7b0000" size="0010d000"/>
<module path="/usr/lib/codeblocks/plugins/libhelp_plugin.so" address="ab8be000" size="00004000"/>
<module path="/usr/lib/codeblocks/plugins/libcb_koders.so" address="ab8c8000" size="00012000"/>
<module path="/usr/lib/codeblocks/plugins/libcb_koders.so" address="ab8db000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libSymTab.so" address="ab8f6000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libdragscroll.so" address="ab8f8000" size="0001c000"/>
<module path="/usr/lib/codeblocks/plugins/libdragscroll.so" address="ab916000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libcodesnippets.so" address="aba1a000" size="00007000"/>
<module path="/usr/lib/codeblocks/plugins/libbyogames.so" address="aba25000" size="00027000"/>
<module path="/usr/lib/codeblocks/plugins/libbyogames.so" address="aba4f000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libheaderfixup.so" address="abb0b000" size="00002000"/>
<module path="/usr/lib/codeblocks/plugins/libclasswizard.so" address="abb0e000" size="00018000"/>
<module path="/usr/lib/codeblocks/plugins/libclasswizard.so" address="abb27000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libcodestat.so" address="abb3c000" size="00001000"/>
<module path="/usr/lib/wxSmithContribItems/libwxflatnotebook.so.0.0.1" address="abb3e000" size="0003e000" version="0.0.1"/>
<module path="/usr/lib/wxSmithContribItems/libwxflatnotebook.so.0.0.1" address="abb7e000" size="00002000" version="0.0.1"/>
<module path="/usr/lib/codeblocks/plugins/liblib_finder.so" address="abbf0000" size="00003000"/>
<module path="/usr/lib/codeblocks/plugins/libThreadSearch.so" address="abbf4000" size="0004a000"/>
<module path="/usr/lib/codeblocks/plugins/libThreadSearch.so" address="abc41000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libopenfileslist.so" address="abc43000" size="00009000"/>
<module path="/usr/lib/codeblocks/plugins/libopenfileslist.so" address="abc4d000" size="00001000"/>
<module path="/usr/share/fonts/TTF/DejaVuSansMono.ttf" address="abcae000" size="00052000"/>
<module path="/usr/lib/codeblocks/plugins/libcopystrings.so" address="abe00000" size="00007000"/>
<module path="/usr/lib/codeblocks/plugins/libcopystrings.so" address="abe08000" size="00001000"/>
<module path="/usr/lib/codeblocks/plugins/libenvvars.so" address="abe23000" size="00001000"/>
<module path="/usr/lib/wxSmithContribItems/libwxcustombutton.so.0.0.1" address="abe25000" size="0000a000" version="0.0.1"/>
<module path="/usr/lib/wxSmithContribItems/libwxcustombutton.so.0.0.1" address="abe30000" size="00001000" version="0.0.1"/>
<module path="/usr/share/mime/mime.cache" address="ade35000" size="0001f000"/>
<module path="/usr/lib/libgvfscommon.so.0.0.0" address="ade6a000" size="00001000" version="0.0.0"/>
<module path="/usr/lib/codeblocks/plugins/libCccc.so" address="ade6c000" size="00007000"/>
<module path="/usr/lib/codeblocks/plugins/libCccc.so" address="ade74000" size="00001000"/>
<module path="/usr/share/mime/mime.cache" address="ade76000" size="0001f000"/>
<module path="/usr/lib/gio/modules/libgvfsdbus.so" address="adebf000" size="00001000"/>
<module path="/usr/local/share/icons/hicolor/icon-theme.cache" address="adec1000" size="00091000"/>
<module path="/usr/share/icons/hicolor/icon-theme.cache" address="af2a9000" size="01357000"/>
<module path="/usr/lib/codeblocks/plugins/libwxsmith.so" address="b0701000" size="00002000"/>
<module path="/usr/lib/codeblocks/plugins/libwxsmith.so" address="b0704000" size="00001000"/>
<module path="/usr/share/fonts/TTF/DejaVuSans.ttf" address="b0721000" size="000b0000"/>
<module path="/usr/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo" address="b07d4000" size="00008000"/>
<module path="/dev/shm/pulse-shm-3776743730" address="b0fdd000" size="04001000"/>
<module path="/lib/libnsl-2.15.so" address="b4ff3000" size="00001000" version="2.15"/>
<module path="/usr/lib/libvorbisenc.so.2.0.9" address="b4ff7000" size="00166000" version="2.0.9"/>
<module path="/usr/lib/libvorbisenc.so.2.0.9" address="b516e000" size="00001000" version="2.0.9"/>
<module path="/usr/lib/libFLAC.so.8.2.0" address="b51be000" size="00001000" version="8.2.0"/>
<module path="/usr/lib/libasyncns.so.0.3.1" address="b51c4000" size="00001000" version="0.3.1"/>
<module path="/usr/lib/libsndfile.so.1.0.25" address="b51c6000" size="0006c000" version="1.0.25"/>
<module path="/usr/lib/libsndfile.so.1.0.25" address="b5233000" size="00001000" version="1.0.25"/>
<module path="/usr/lib/libdbus-1.so.3.5.9" address="b5238000" size="00048000" version="3.5.9"/>
<module path="/usr/lib/libdbus-1.so.3.5.9" address="b5281000" size="00001000" version="3.5.9"/>
<module path="/usr/lib/libpulsecommon-1.1.so" address="b52e7000" size="00001000" version="1.1"/>
<module path="/usr/lib/libpulse.so.0.13.5" address="b52e9000" size="0004c000" version="0.13.5"/>
<module path="/usr/lib/libpulse.so.0.13.5" address="b5336000" size="00001000" version="0.13.5"/>
<module path="/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so" address="b533f000" size="00001000" version="xpm"/>
<module path="/usr/lib/libudev.so.0.13.1" address="b5341000" size="0000e000" version="0.13.1"/>
<module path="/usr/lib/libudev.so.0.13.1" address="b5350000" size="00001000" version="0.13.1"/>
<module path="/usr/lib/libcanberra-0.28/libcanberra-pulse.so" address="b5360000" size="00006000" version="pulse"/>
<module path="/usr/lib/libcanberra-0.28/libcanberra-pulse.so" address="b5367000" size="00001000" version="pulse"/>
<module path="/var/cache/fontconfig/f6b893a7224233d96cb72fd88691c0b4-le32d4.cache-3" address="b540d000" size="0002a000"/>
<module path="/var/cache/fontconfig/df311e82a1a24c41a75c2c930223552e-le32d4.cache-3" address="b5478000" size="00041000"/>
<module path="/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so" address="b5519000" size="0002f000" version="2.0/2.10.0/engines/libclearlooks"/>
<module path="/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so" address="b5549000" size="00001000" version="2.0/2.10.0/engines/libclearlooks"/>
<module path="/usr/lib/libltdl.so.7.3.0" address="b5553000" size="00001000" version="7.3.0"/>
<module path="/usr/lib/libtdb.so.1.2.9" address="b5555000" size="00011000" version="1.2.9"/>
<module path="/usr/lib/libtdb.so.1.2.9" address="b5567000" size="00001000" version="1.2.9"/>
<module path="/usr/lib/libogg.so.0.8.0" address="b556e000" size="00001000" version="0.8.0"/>
<module path="/usr/lib/libvorbis.so.0.4.6" address="b5599000" size="00001000" version="0.4.6"/>
<module path="/usr/lib/libvorbisfile.so.3.3.5" address="b559b000" size="00008000" version="3.3.5"/>
<module path="/usr/lib/libvorbisfile.so.3.3.5" address="b55a4000" size="00001000" version="3.3.5"/>
<module path="/usr/lib/libcanberra.so.0.2.5" address="b55b5000" size="00001000" version="0.2.5"/>
<module path="/usr/lib/libcanberra-gtk.so.0.1.8" address="b55b7000" size="00004000" version="0.1.8"/>
<module path="/usr/lib/libcanberra-gtk.so.0.1.8" address="b55bc000" size="00001000" version="0.1.8"/>
<module path="/lib/libnss_files-2.15.so" address="b55f3000" size="0000b000" version="2.15"/>
<module path="/lib/libnss_files-2.15.so" address="b55ff000" size="00001000" version="2.15"/>
<module path="/usr/lib/libjson.so.0.0.1" address="b5603000" size="00007000" version="0.0.1"/>
<module path="/usr/lib/libjson.so.0.0.1" address="b560b000" size="00001000" version="0.0.1"/>
<module path="/var/cache/fontconfig/a98d8961fa319a64d3cfd8640c79e62d-le32d4.cache-3" address="b561c000" size="00007000"/>
<module path="/usr/share/locale/ru/LC_MESSAGES/libc.mo" address="b5629000" size="0002e000"/>
<module path="/usr/lib/locale/locale-archive" address="b5788000" size="00200000"/>
<module path="/lib/libbz2.so.1.0.6" address="b598e000" size="0000f000" version="1.0.6"/>
<module path="/lib/libresolv-2.15.so" address="b599e000" size="00013000" version="2.15"/>
<module path="/lib/libresolv-2.15.so" address="b59b2000" size="00001000" version="2.15"/>
<module path="/usr/lib/libpixman-1.so.0.24.4" address="b59b5000" size="00093000" version="0.24.4"/>
<module path="/usr/lib/libpixman-1.so.0.24.4" address="b5a4c000" size="00001000" version="0.24.4"/>
<module path="/usr/lib/libfreetype.so.6.8.1" address="b5ae4000" size="00004000" version="6.8.1"/>
<module path="/usr/lib/libXdmcp.so.6.0.0" address="b5ae9000" size="00005000" version="6.0.0"/>
<module path="/usr/lib/libXdmcp.so.6.0.0" address="b5aef000" size="00001000" version="6.0.0"/>
<module path="/usr/lib/libXau.so.6.0.0" address="b5af1000" size="00002000" version="6.0.0"/>
<module path="/usr/lib/libXau.so.6.0.0" address="b5af4000" size="00001000" version="6.0.0"/>
<module path="/usr/lib/liblzma.so.5.0.3" address="b5b1a000" size="00001000" version="5.0.3"/>
<module path="/usr/lib/libuuid.so.1.3.0" address="b5b1c000" size="00004000" version="1.3.0"/>
<module path="/usr/lib/libuuid.so.1.3.0" address="b5b21000" size="00001000" version="1.3.0"/>
<module path="/usr/lib/libICE.so.6.3.0" address="b5b38000" size="00001000" version="6.3.0"/>
<module path="/usr/lib/libffi.so.5.0.10" address="b5b3c000" size="00005000" version="5.0.10"/>
<module path="/usr/lib/libffi.so.5.0.10" address="b5b42000" size="00001000" version="5.0.10"/>
<module path="/lib/librt-2.15.so" address="b5b44000" size="00007000" version="2.15"/>
<module path="/lib/librt-2.15.so" address="b5b4c000" size="00001000" version="2.15"/>
<module path="/usr/lib/libpcre.so.1.0.0" address="b5ba7000" size="00001000" version="1.0.0"/>
<module path="/usr/lib/libpcre.so.1.0.0" address="b5ba9000" size="00001000" version="1.0.0"/>
<module path="/usr/lib/libXdamage.so.1.1.0" address="b5bac000" size="00001000" version="1.1.0"/>
<module path="/usr/lib/libXcomposite.so.1.0.0" address="b5bae000" size="00002000" version="1.0.0"/>
<module path="/usr/lib/libXcomposite.so.1.0.0" address="b5bb1000" size="00001000" version="1.0.0"/>
<module path="/usr/lib/libXcursor.so.1.0.2" address="b5bbb000" size="00001000" version="1.0.2"/>
<module path="/usr/lib/libXrandr.so.2.2.0" address="b5bbe000" size="00007000" version="2.2.0"/>
<module path="/usr/lib/libXrandr.so.2.2.0" address="b5bc6000" size="00001000" version="2.2.0"/>
<module path="/usr/lib/libXi.so.6.1.0" address="b5bd5000" size="00001000" version="6.1.0"/>
<module path="/usr/lib/libXrender.so.1.3.0" address="b5bd7000" size="00009000" version="1.3.0"/>
<module path="/usr/lib/libXrender.so.1.3.0" address="b5be1000" size="00001000" version="1.3.0"/>
<module path="/usr/lib/libXext.so.6.4.0" address="b5bf3000" size="00001000" version="6.4.0"/>
<module path="/usr/lib/libgmodule-2.0.so.0.3000.2" address="b5bf5000" size="00003000" version="0.3000.2"/>
<module path="/usr/lib/libgmodule-2.0.so.0.3000.2" address="b5bf9000" size="00001000" version="0.3000.2"/>
<module path="/usr/lib/libfontconfig.so.1.4.4" address="b5bfb000" size="00033000" version="1.4.4"/>
<module path="/usr/lib/libfontconfig.so.1.4.4" address="b5c2f000" size="00001000" version="1.4.4"/>
<module path="/usr/lib/libpangoft2-1.0.so.0.2904.0" address="b5c5c000" size="00001000" version="0.2904.0"/>
<module path="/usr/lib/libgio-2.0.so.0.3000.2" address="b5c5e000" size="00140000" version="0.3000.2"/>
<module path="/usr/lib/libgio-2.0.so.0.3000.2" address="b5da0000" size="00001000" version="0.3000.2"/>
<module path="/usr/lib/libcairo.so.2.11000.2" address="b5da2000" size="000b4000" version="2.11000.2"/>
<module path="/usr/lib/libcairo.so.2.11000.2" address="b5e57000" size="00001000" version="2.11000.2"/>
<module path="/usr/lib/libatk-1.0.so.0.20209.1" address="b5e5a000" size="0001e000" version="0.20209.1"/>
<module path="/usr/lib/libatk-1.0.so.0.20209.1" address="b5e7a000" size="00001000" version="0.20209.1"/>
<module path="/usr/lib/libXfixes.so.3.1.0" address="b5e7c000" size="00004000" version="3.1.0"/>
<module path="/usr/lib/libXfixes.so.3.1.0" address="b5e81000" size="00001000" version="3.1.0"/>
<module path="/usr/lib/libpangocairo-1.0.so.0.2904.0" address="b5e8d000" size="00001000" version="0.2904.0"/>
<module path="/usr/lib/libxcb.so.1.1.0" address="b5e8f000" size="00020000" version="1.1.0"/>
<module path="/usr/lib/libxcb.so.1.1.0" address="b5eb0000" size="00001000" version="1.1.0"/>
<module path="/usr/lib/libexpat.so.1.6.0" address="b5ed7000" size="00001000" version="1.6.0"/>
<module path="/usr/lib/libexpat.so.1.6.0" address="b5eda000" size="00001000" version="1.6.0"/>
<module path="/usr/lib/libz.so.1.2.6" address="b5ef0000" size="00001000" version="1.2.6"/>
<module path="/usr/lib/libtiff.so.5.0.6" address="b5ef3000" size="0006f000" version="5.0.6"/>
<module path="/usr/lib/libtiff.so.5.0.6" address="b5f63000" size="00002000" version="5.0.6"/>
<module path="/usr/lib/libjpeg.so.8.0.2" address="b5f66000" size="00045000" version="8.0.2"/>
<module path="/usr/lib/libjpeg.so.8.0.2" address="b5fac000" size="00001000" version="8.0.2"/>
<module path="/usr/lib/libpng15.so.15.10.0" address="b5fbd000" size="0002e000" version="15.10.0"/>
<module path="/usr/lib/libpng15.so.15.10.0" address="b5fec000" size="00001000" version="15.10.0"/>
<module path="/usr/lib/libSM.so.6.0.1" address="b5ff4000" size="00001000" version="6.0.1"/>
<module path="/usr/lib/libXxf86vm.so.1.0.0" address="b5ff6000" size="00004000" version="1.0.0"/>
<module path="/usr/lib/libXxf86vm.so.1.0.0" address="b5ffb000" size="00001000" version="1.0.0"/>
<module path="/usr/lib/libXinerama.so.1.0.0" address="b5ffe000" size="00001000" version="1.0.0"/>
<module path="/usr/lib/libgthread-2.0.so.0.3000.2" address="b6001000" size="00004000" version="0.3000.2"/>
<module path="/usr/lib/libgthread-2.0.so.0.3000.2" address="b6006000" size="00001000" version="0.3000.2"/>
<module path="/usr/lib/libpango-1.0.so.0.2904.0" address="b604f000" size="00001000" version="0.2904.0"/>
<module path="/usr/lib/libglib-2.0.so.0.3000.2" address="b6051000" size="000f6000" version="0.3000.2"/>
<module path="/usr/lib/libglib-2.0.so.0.3000.2" address="b6148000" size="00001000" version="0.3000.2"/>
<module path="/usr/lib/libgdk_pixbuf-2.0.so.0.2400.1" address="b616b000" size="00001000" version="0.2400.1"/>
<module path="/usr/lib/libgobject-2.0.so.0.3000.2" address="b616d000" size="0004c000" version="0.3000.2"/>
<module path="/usr/lib/libgobject-2.0.so.0.3000.2" address="b61ba000" size="00001000" version="0.3000.2"/>
<module path="/usr/lib/libgdk-x11-2.0.so.0.2400.10" address="b61bc000" size="000ab000" version="0.2400.10"/>
<module path="/usr/lib/libgdk-x11-2.0.so.0.2400.10" address="b6269000" size="00001000" version="0.2400.10"/>
<module path="/usr/lib/libgtk-x11-2.0.so.0.2400.10" address="b66be000" size="00001000" version="0.2400.10"/>
<module path="/usr/lib/libgtk-x11-2.0.so.0.2400.10" address="b66c3000" size="00002000" version="0.2400.10"/>
<module path="/lib/libm-2.15.so" address="b66c7000" size="0002a000" version="2.15"/>
<module path="/lib/libm-2.15.so" address="b66f2000" size="00001000" version="2.15"/>
<module path="/lib/libdl-2.15.so" address="b66f6000" size="00001000" version="2.15"/>
<module path="/usr/lib/libX11.so.6.3.0" address="b66f8000" size="00132000" version="6.3.0"/>
<module path="/usr/lib/libX11.so.6.3.0" address="b682b000" size="00001000" version="6.3.0"/>
<module path="/usr/lib/libwx_baseu_xml-2.8.so.0.8.0" address="b682f000" size="00008000" version="0.8.0"/>
<module path="/usr/lib/libwx_baseu_xml-2.8.so.0.8.0" address="b6838000" size="00001000" version="0.8.0"/>
<module path="/usr/lib/libwx_gtk2u_richtext-2.8.so.0.8.0" address="b683a000" size="000da000" version="0.8.0"/>
<module path="/usr/lib/libwx_gtk2u_richtext-2.8.so.0.8.0" address="b691a000" size="00001000" version="0.8.0"/>
<module path="/lib/libc-2.15.so" address="b691d000" size="0019b000" version="2.15"/>
<module path="/lib/libc-2.15.so" address="b6ab9000" size="00002000" version="2.15"/>
<module path="/usr/lib/libgcc_s.so.1" address="b6abf000" size="0001c000" version="1"/>
<module path="/usr/lib/libstdc++.so.6.0.17" address="b6adc000" size="000dc000" version="6.0.17"/>
<module path="/usr/lib/libstdc++.so.6.0.17" address="b6bbc000" size="00001000" version="6.0.17"/>
<module path="/lib/libpthread-2.15.so" address="b6bc4000" size="00017000" version="2.15"/>
<module path="/lib/libpthread-2.15.so" address="b6bdc000" size="00001000" version="2.15"/>
<module path="/usr/lib/libwx_baseu-2.8.so.0.8.0" address="b6be0000" size="00136000" version="0.8.0"/>
<module path="/usr/lib/libwx_baseu-2.8.so.0.8.0" address="b6d17000" size="00004000" version="0.8.0"/>
<module path="/usr/lib/libwx_baseu_net-2.8.so.0.8.0" address="b6d26000" size="00029000" version="0.8.0"/>
<module path="/usr/lib/libwx_baseu_net-2.8.so.0.8.0" address="b6d50000" size="00001000" version="0.8.0"/>
<module path="/usr/lib/libwx_gtk2u_core-2.8.so.0.8.0" address="b6d52000" size="002f7000" version="0.8.0"/>
<module path="/usr/lib/libwx_gtk2u_core-2.8.so.0.8.0" address="b704a000" size="00026000" version="0.8.0"/>
<module path="/usr/lib/libwx_gtk2u_adv-2.8.so.0.8.0" address="b707d000" size="000ab000" version="0.8.0"/>
<module path="/usr/lib/libwx_gtk2u_adv-2.8.so.0.8.0" address="b7130000" size="00001000" version="0.8.0"/>
<module path="/usr/lib/libwx_gtk2u_html-2.8.so.0.8.0" address="b7133000" size="00089000" version="0.8.0"/>
<module path="/usr/lib/libwx_gtk2u_html-2.8.so.0.8.0" address="b71c1000" size="00002000" version="0.8.0"/>
<module path="/usr/lib/libwx_gtk2u_qa-2.8.so.0.8.0" address="b71c4000" size="00019000" version="0.8.0"/>
<module path="/usr/lib/libwx_gtk2u_qa-2.8.so.0.8.0" address="b71de000" size="00001000" version="0.8.0"/>
<module path="/usr/lib/libwx_gtk2u_xrc-2.8.so.0.8.0" address="b71e0000" size="0007a000" version="0.8.0"/>
<module path="/usr/lib/libwx_gtk2u_xrc-2.8.so.0.8.0" address="b725d000" size="00001000" version="0.8.0"/>
<module path="/usr/lib/libwx_gtk2u_aui-2.8.so.0.8.0" address="b725f000" size="0005d000" version="0.8.0"/>
<module path="/usr/lib/libwx_gtk2u_aui-2.8.so.0.8.0" address="b72bf000" size="00001000" version="0.8.0"/>
<module path="/usr/lib/libcodeblocks.so.0.0.1" address="b72c1000" size="00431000" version="0.0.1"/>
<module path="/usr/lib/libcodeblocks.so.0.0.1" address="b7703000" size="00005000" version="0.0.1"/>
<module path="/usr/local/share/mime/mime.cache" address="b770e000" size="00001000"/>
<module path="/lib/libutil-2.15.so" address="b7711000" size="00001000" version="2.15"/>
<module path="/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so" address="b7713000" size="00005000" version="module"/>
<module path="/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so" address="b7719000" size="00001000" version="module"/>
<module path="/usr/lib/gconv/UTF-32.so" address="b7733000" size="00002000" version="32"/>
<module path="/usr/lib/gconv/UTF-32.so" address="b7736000" size="00001000" version="32"/>
<module path="[vdso]" address="b7738000" size="00001000"/>
<module path="/lib/ld-2.15.so" address="b7759000" size="00001000" version="2.15"/>
</modules>
<stack>
<frame level="0" function="wxFatalSignalHandler" offset="00000023"/>
<frame level="1"/>
<frame level="2" function="wxStringBase::operator=(wxStringBase const&)" offset="0000001a"/>
<frame level="3" function="DebuggerGDB::Debug()" offset="000001f3"/>
<frame level="4" function="DebuggerGDB::OnAttachToProcess(wxCommandEvent&)" offset="0000014b"/>
<frame level="5" function="wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const" offset="00000028"/>
<frame level="6" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)" offset="0000007a"/>
<frame level="7" function="wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)" offset="000000ab"/>
<frame level="8" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="000000e1"/>
<frame level="9" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="10" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="11" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="12" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="13" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="14" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="15" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="16" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="17" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="18" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="19" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="20" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="21" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="22" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="23" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="24" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="25" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="26" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="27" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="28" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="29" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="30" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="31" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="32" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="33" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="34" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="35" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="36" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="00000071"/>
<frame level="37"/>
<frame level="38" function="g_cclosure_marshal_VOID__VOID" offset="0000008c"/>
<frame level="39" function="g_closure_invoke" offset="000001ac"/>
<frame level="40"/>
<frame level="41" function="g_signal_emit_valist" offset="00000777"/>
<frame level="42" function="g_signal_emit" offset="00000033"/>
<frame level="43" function="gtk_widget_activate" offset="00000095"/>
<frame level="44" function="gtk_menu_shell_activate_item" offset="00000117"/>
<frame level="45"/>
<frame level="46"/>
<frame level="47"/>
<frame level="48"/>
<frame level="49" function="g_closure_invoke" offset="000001ac"/>
<frame level="50"/>
<frame level="51" function="g_signal_emit_valist" offset="00000589"/>
<frame level="52" function="g_signal_emit" offset="00000033"/>
<frame level="53"/>
<frame level="54" function="gtk_propagate_event" offset="000000ce"/>
<frame level="55" function="gtk_main_do_event" offset="000002c0"/>
<frame level="56"/>
<frame level="57" function="g_main_context_dispatch" offset="000001df"/>
<frame level="58"/>
<frame level="59" function="g_main_loop_run" offset="0000014b"/>
<frame level="60" function="gtk_main" offset="000000af"/>
<frame level="61" function="wxEventLoop::Run()" offset="0000004a"/>
<frame level="62" function="wxAppBase::MainLoop()" offset="0000004f"/>
<frame level="63" function="wxAppBase::OnRun()" offset="0000001f"/>
<frame level="64"/>
</stack>
</report>
I've just wrote a simple helloworld in C, added getchar() to wait, compiled it with "-g" flag and tried to attach to it with this IDE. Tried on 2 machines, different binaries: same result - IDE crashes. Am I doing something wrong, or this is a problem with WxWidgets/Code::Blocks?
My packages are: wxgtk 2.8.12.1-3, codeblocks 10.05-2 and gdb 7.4-1.
Last edited by dontbugme (2012-04-24 02:19:16)Are you running on an x86_64 architecture? If so I have a pacman Code::Blocks package which is the current SVN I could upload somewhere for you..
If not, check: Here to download and make the latest SVN version. There is a patch you have to apply on that page and also you need to make the build using the makepkg "-fpermissive" option.
Why do you want this SVN version (version 7932)? Well, it's current as of April 14 this month. The C::B 10.05 version is 2010, 5th month. So way out of date. There have been no official builds since then so you want to be using SVN until there is.
I don't know if using the SVN version would fix your issue but even if not: it has a host of other enhancements and fixes.
Maybe you are looking for
-
Color management setting wont stay set?
Running Acrobat Pro 9.4.1 in conjunction with CS5 Design Premium. Not only does the color management setting in Acrobat not change when set and synced from Bridge. The setting wont stick when set directly in Acrobat. Does anybody have a similar issue
-
Front Row no longer works with Airtunes
May I add my voice to a retrograde step from tiger to leopard. I now no longer proudly show off front row when I play music in my bar since leopard only plays front row directed music through the imac speakers and not air tunes.
-
Pink/purple box when I try to load webpage
Starting yesterday, anytime I try to load a webpage, I get a pink/purple box on the tab and the page doesn't load at all. In some cases, the page will load and in places where there should have been a picture, there's a box with a yellow background a
-
Hi, I had colpleted the configuration whcih is reqiure for Digital Signature in From16. Now how can i check whether my configuration is working properly or not? How to get Digital Signature in Form16? Regards, Nisit
-
HT1688 i have an iphone 5 and it wont hold a charge? any suggestions?
i have tried restoring it and it did nothing